Explorar o código

fix: FileSystemObserver latest API change

tophf hai 1 ano
pai
achega
6d31a7f761
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/confirm/views/app.vue

+ 1 - 1
src/confirm/views/app.vue

@@ -474,7 +474,7 @@ async function trackLocalFile() {
     await onFileChanged();
     stopResolve();
   }
-  if (fso) fso.unobserve(fileHandle);
+  if (fso) fso.disconnect();
   trackingPromise = tracking.value = false;
 }
 async function onFileChanged() {