🩹 Handle failed component load.

This commit is contained in:
patrickheeney 2022-06-24 08:00:50 -07:00
parent a877ff2f8e
commit 542a9fe9bd

View File

@ -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: {