mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-15 08:12:25 +02:00
Set up Not Found views
This commit is contained in:
4
resources/js_vue3/stores/notify.js
vendored
4
resources/js_vue3/stores/notify.js
vendored
@ -46,6 +46,10 @@ export const useNotifyStore = defineStore({
|
||||
//
|
||||
},
|
||||
|
||||
notFound(err) {
|
||||
router.push({ name: '404' })
|
||||
},
|
||||
|
||||
error(err) {
|
||||
this.parseError(err)
|
||||
router.push({ name: 'genericError' })
|
||||
|
Reference in New Issue
Block a user