mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-07 17:15:17 +01:00
🩹 Handle failed component load.
This commit is contained in:
parent
a877ff2f8e
commit
542a9fe9bd
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ export default {
|
|||
return null;
|
||||
}
|
||||
// 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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue