Explorar el Código

fix: FileSystemObserver latest API change

tophf hace 1 año
padre
commit
6d31a7f761
Se han modificado 1 ficheros con 1 adiciones y 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() {