feature notifications
This commit is contained in:
@@ -16,6 +16,7 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
const company = useCompanyStore();
|
||||
const loadStore = useLoadsStore();
|
||||
const vehiclesStore = useVehiclesStore();
|
||||
const notyStore = useNotificationsStore();
|
||||
const sesion = ref('')
|
||||
const checking = ref(false);
|
||||
const authStatus = ref('checking');
|
||||
@@ -89,6 +90,11 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
user.value = null;
|
||||
checking.value = false;
|
||||
authStatus.value = 'checking'
|
||||
notyStore.notifications = [];
|
||||
notyStore.newNoty = false;
|
||||
notyStore.show = false;
|
||||
notyStore.openNotifications = false;
|
||||
notyStore.toggleProfile = false;
|
||||
|
||||
company.clear();
|
||||
loadStore.clear();
|
||||
|
||||
Reference in New Issue
Block a user