mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 09:51:35 +02:00
Fix missing notification when refreshing preferences
This commit is contained in:
1
resources/js/stores/user.js
vendored
1
resources/js/stores/user.js
vendored
@@ -141,6 +141,7 @@ export const useUserStore = defineStore({
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
|
const notify = useNotifyStore()
|
||||||
notify.alert({ text: trans('errors.data_cannot_be_refreshed_from_server') })
|
notify.alert({ text: trans('errors.data_cannot_be_refreshed_from_server') })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user