Implement dummy Budget-Settings and extract setTitle mutation

This commit is contained in:
jacob1123 committed 2022-01-25 20:40:00 +00:00
1 parent 74c4c7cb02
commit ffed94f586
5 files changed
+9 -13

No files matched your search

+2 -7
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) {