fix: compiler type warning (#744)
This commit is contained in:
1 parent
88e1e84fb3
commit
ec9126b903
1 file changed
+1
-1
@@ -120,7 +120,7 @@ import kebabCase from 'lodash.kebabcase'
|
||||
export default class PageDashboard extends Mixins(DashboardMixin) {
|
||||
get allComponents() {
|
||||
const output: string[] = []
|
||||
const components = Object.keys(this.$options.components)
|
||||
const components = Object.keys(this.$options.components ?? {})
|
||||
|
||||
components?.forEach((component) => {
|
||||
if (component.endsWith('Panel')) output.push(kebabCase(component))
|
||||
|
||||
Reference in new issue
Block a user