🔀 Merge pull request #759 from patrickheeney/FIX/Improve-Failed-Load
🩹 Handle failed component load.
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user