Skip to content

Commit c1c1c44

Browse files
committed
Fix clearing coin list
1 parent b48c257 commit c1c1c44

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

frontend/src/App.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const openFile = async (file, connection_type) => {
7070
if (!file)
7171
return;
7272
73-
watch(coinListViewRef, (newVal) => {
73+
const stopClearWatch = watch(coinListViewRef, (newVal) => {
7474
if (newVal) {
7575
coinListViewRef.value.clear()
7676
}
@@ -99,6 +99,8 @@ const openFile = async (file, connection_type) => {
9999
100100
await coinListViewRef.value.onOpenFile()
101101
}
102+
103+
stopClearWatch()
102104
}
103105
104106
const handleRemoteFileSelected = async (file) => {

0 commit comments

Comments
 (0)