Implement dummy Budget-Settings and extract setTitle mutation

This commit is contained in:
2022-01-25 20:40:00 +00:00
parent 74c4c7cb02
commit ffed94f586
5 changed files with 9 additions and 13 deletions

View File

@ -1,12 +1,7 @@
<script>
import { LOGIN_SUCCESS } from "../store/mutation-types";
import { LOGIN_SUCCESS, TITLE } from "../store/mutation-types";
export default {
computed: {
dashboard () {
return this.$store.state;
}
},
data() {
return {
error: [],
@ -18,7 +13,7 @@ export default {
}
},
mounted () {
this.$store.commit("setTitle", "Login");
this.$store.commit(TITLE, "Login");
},
methods: {
formSubmit (e) {