diff --git a/resources/js/stores/user.js b/resources/js/stores/user.js index b115741b..135fe7a8 100644 --- a/resources/js/stores/user.js +++ b/resources/js/stores/user.js @@ -141,6 +141,7 @@ export const useUserStore = defineStore({ }) }) .catch(error => { + const notify = useNotifyStore() notify.alert({ text: trans('errors.data_cannot_be_refreshed_from_server') }) }) }