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

This commit is contained in:
not-nullptr 2025-04-12 22:24:16 +01:00
parent 8017d5d72d
commit d96cfbd306
1 changed files with 8 additions and 5 deletions

View File

@ -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;
},
},