Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

fix: pressing no on the upload thing didnt do much...

not-nullptrd96cfbd306ae
diff --git a/src/lib/store/index.svelte.ts b/src/lib/store/index.svelte.ts
index 86536d0..5ceb551 100644
--- a/src/lib/store/index.svelte.ts
+++ b/src/lib/store/index.svelte.ts
@@ -148,11 +148,14 @@ class Files {
{
text: "No",
action: () => {
- this.files = this.files.filter((f) =>
- f.converters
- .map((c) => c.name)
- .includes("vertd"),
- );
+ this.files = [
+ ...this.files.filter(
+ (f) =>
+ !f.converters
+ .map((c) => c.name)
+ .includes("vertd"),
+ ),
+ ];
this._warningShown = false;
},
},