Commit be1fe29bb9a17ef337903e30d3db447b7459846a

Authored by Neeraj Sharma
1 parent 6c05a9f840

implement number of student data card in dashboard

... ... @@ -85,7 +85,7 @@ const Menu = [
85 85 items: [
86 86 { name: 'libraryMember', title: ' Library Member', component: 'libraryMember', action: '', },
87 87 { name: 'Books', title: 'Books', component: 'Books', action: '', },
88   - // { name: 'Issue', title: ' Issue', component: 'Issue', action: '', },
  88 + { name: 'Issue', title: ' Issue', component: 'Issue', action: '', },
89 89 { name: 'eBooks', title: 'E-Books', component: 'eBooks', action: '', }
90 90  
91 91 ]
... ...
src/pages/Authentication/Login.vue
... ... @@ -123,7 +123,7 @@ export default {
123 123 this.$store.dispatch("setToken", response.data.data.token);
124 124 this.$store.dispatch("Id", response.data.data.id);
125 125 this.loading = false;
126   - this.$router.push("/teachers");
  126 + this.$router.push("/dashboard");
127 127 })
128 128 .catch(error => {
129 129 if (error) {
... ... @@ -141,7 +141,7 @@ export default {
141 141 },
142 142 mounted() {
143 143 if (this.$store.state.isUserLoggedIn == true) {
144   - this.$router.push("/teachers");
  144 + this.$router.push("/dashboard");
145 145 }
146 146 },
147 147 computed: {
... ...