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.
2 parents 993dbad + 517ab3d commit 16e0669Copy full SHA for 16e0669
packages/traction-widget/components/TagsPanel/TagsPanel.vue
@@ -97,7 +97,7 @@ const props = defineProps({
97
// eslint-disable-next-line no-undef
98
const emit = defineEmits(['update:tags']);
99
const { datasource } = useFormModel(props, emit, ['tags']);
100
-const showTagInputArray = ref(datasource.tags.map(() => false));
+const showTagInputArray = ref(datasource?.tags?.map(() => false) || []);
101
const editTagInputRefs = ref<InstanceType<typeof FInput>[]>([] as any[]);
102
const editTempTagInput = ref<string>('');
103
0 commit comments