mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-23 13:31:27 +02:00
Fix missing notification when refreshing preferences
This commit is contained in:
parent
9519d5838c
commit
70f884270e
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') })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user