AI-native design editor. Open-source Figma alternative.
Fix addCollection not triggering reactivity
Danila Poyarkovff48c03d5af7
diff --git a/components.d.ts b/components.d.tsindex 4ebb50bce..6e5697368 100644--- a/components.d.ts+++ b/components.d.ts@@ -39,12 +39,20 @@ declare module 'vue' {IconLucideFile: typeof import('~icons/lucide/file')['default']IconLucideFlipHorizontal: typeof import('~icons/lucide/flip-horizontal')['default']IconLucideFlipVertical: typeof import('~icons/lucide/flip-vertical')['default']+ IconLucideFolderPlus: typeof import('~icons/lucide/folder-plus')['default']+ IconLucideHash: typeof import('~icons/lucide/hash')['default']IconLucideImage: typeof import('~icons/lucide/image')['default']+ IconLucideLink: typeof import('~icons/lucide/link')['default']IconLucidePlus: typeof import('~icons/lucide/plus')['default']IconLucideRadius: typeof import('~icons/lucide/radius')['default']IconLucideRotateCcw: typeof import('~icons/lucide/rotate-ccw')['default']IconLucideRotateCw: typeof import('~icons/lucide/rotate-cw')['default']IconLucideSearch: typeof import('~icons/lucide/search')['default']+ IconLucideSettings2: typeof import('~icons/lucide/settings2')['default']+ IconLucideToggleLeft: typeof import('~icons/lucide/toggle-left')['default']+ IconLucideType: typeof import('~icons/lucide/type')['default']+ IconLucideUnlink: typeof import('~icons/lucide/unlink')['default']+ IconLucideX: typeof import('~icons/lucide/x')['default']LayersPanel: typeof import('./src/components/LayersPanel.vue')['default']LayoutSection: typeof import('./src/components/properties/LayoutSection.vue')['default']PageSection: typeof import('./src/components/properties/PageSection.vue')['default']@@ -55,5 +63,7 @@ declare module 'vue' {StrokeSection: typeof import('./src/components/properties/StrokeSection.vue')['default']Toolbar: typeof import('./src/components/Toolbar.vue')['default']TypographySection: typeof import('./src/components/properties/TypographySection.vue')['default']+ VariablesDialog: typeof import('./src/components/VariablesDialog.vue')['default']+ VariablesSection: typeof import('./src/components/properties/VariablesSection.vue')['default']}}diff --git a/src/components/VariablesDialog.vue b/src/components/VariablesDialog.vueindex f5d7f9100..57fd6713c 100644--- a/src/components/VariablesDialog.vue+++ b/src/components/VariablesDialog.vue@@ -142,6 +142,7 @@ function addCollection() {variableIds: []})activeTab.value = id+ store.requestRender()}function removeVariable(id: string) {