mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-20 12:15:01 +02:00
🩹 Handle failed component load.
This commit is contained in:
parent
a877ff2f8e
commit
542a9fe9bd
@ -162,7 +162,7 @@ export default {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line prefer-template
|
// eslint-disable-next-line prefer-template
|
||||||
return () => import('@/components/Widgets/' + type + '.vue');
|
return () => import('@/components/Widgets/' + type + '.vue').catch(() => import('@/components/Widgets/Blank.vue'));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user