Implement dummy Budget-Settings and extract setTitle mutation
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user