mirror of https://github.com/VERT-sh/VERT.git
fix: very big oopsie in file conversion
This commit is contained in:
parent
cecc969e8c
commit
3a2d8b8a50
|
@ -12,6 +12,7 @@ class Files {
|
|||
}[]
|
||||
>([]);
|
||||
public conversionTypes = $state<string[]>([]);
|
||||
public conversionTypesReverse = $derived(this.conversionTypes.reverse());
|
||||
public beenToConverterPage = $state(false);
|
||||
public shouldShowAlert = $derived(
|
||||
!this.beenToConverterPage && this.files.length > 0,
|
||||
|
|
|
@ -299,7 +299,9 @@
|
|||
<Dropdown
|
||||
options={converter.supportedFormats}
|
||||
bind:selected={files
|
||||
.conversionTypes[i]}
|
||||
.conversionTypes[
|
||||
files.files.length - i - 1
|
||||
]}
|
||||
onselect={() => {
|
||||
file.result = null;
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue