Skip to content

Commit 8908af9

Browse files
committed
fix(snippets): update editor if fragments is changed #113
1 parent 024dfa5 commit 8908af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/components/editor/TheEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ watch(
247247
)
248248
249249
watch(
250-
() => props.snippetId,
250+
() => [props.snippetId, props.fragmentIndex].concat(),
251251
() => setValue()
252252
)
253253

0 commit comments

Comments
 (0)