diff --git a/src/Services/http.js b/src/Services/http.js
index b14f50b..2683a41 100644
--- a/src/Services/http.js
+++ b/src/Services/http.js
@@ -63,6 +63,7 @@ export default () => {
token: null,
data: null,
isUserLoggedIn: false,
+ isSchoolLoggedIn: false,
id: null,
role: null,
// schoolId: null,
@@ -70,6 +71,7 @@ export default () => {
schoolRole: null,
studentsData: [],
});
+ window.getApp.$emit("APP_LOGOUT");
console.log("store is - ",vm1.$store.state)
vm1.$router.push({ name: "Login" });
// vm1.$store.dispatch("Id", null);
diff --git a/src/pages/Students/students.vue b/src/pages/Students/students.vue
index 11806e9..9332507 100644
--- a/src/pages/Students/students.vue
+++ b/src/pages/Students/students.vue
@@ -880,7 +880,13 @@
-
+
close
@@ -1009,13 +1015,17 @@
icon="warning"
>Your search for "{{ search }}" found no results.
-
+
- cancel
+ cancel
@@ -1199,7 +1209,7 @@
-
+
diff --git a/src/store/store.js b/src/store/store.js
index 9961394..4bf3aca 100644
--- a/src/store/store.js
+++ b/src/store/store.js
@@ -42,6 +42,7 @@ export default new Vuex.Store({
state.isUserLoggedIn = true
} else {
state.isUserLoggedIn = false
+ state.isSchoolLoggedIn = false
}
},
setSchoolToken(state, schoolToken) {