Skip to content

Commit a7dfceb

Browse files
fix(snippets): disable markdown preview by select other fragment #27 (#31)
1 parent 1d48506 commit a7dfceb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderer/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ watch(
8888
)
8989
9090
watch(
91-
() => snippetStore.selectedId,
91+
() => [snippetStore.selectedId, snippetStore.fragment],
9292
() => {
9393
snippetStore.isMarkdownPreview = false
9494
}

0 commit comments

Comments
 (0)