We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d087021 commit 7aca315Copy full SHA for 7aca315
packages/app-frontend/src/features/components/composable/components.ts
@@ -194,7 +194,7 @@ export function useSelectedComponent () {
194
})), 'type')
195
: ({}))
196
197
- const fileIsPath = computed(() => data.value.file && /[/\\]/.test(data.value.file))
+ const fileIsPath = computed(() => data.value?.file && /[/\\]/.test(data.value.file))
198
199
function inspectDOM () {
200
if (!data.value) return
0 commit comments