mirror of https://github.com/VERT-sh/VERT.git
fix: allow "set all" to same format
fixes https://github.com/orgs/VERT-sh/discussions/122
This commit is contained in:
parent
af888487d5
commit
30719b003d
|
@ -78,10 +78,8 @@
|
|||
<FormatDropdown
|
||||
onselect={(r) =>
|
||||
files.files.forEach((f) => {
|
||||
if (f.from !== r) {
|
||||
f.to = r;
|
||||
f.result = null;
|
||||
}
|
||||
f.to = r;
|
||||
f.result = null;
|
||||
})}
|
||||
{categories}
|
||||
dropdownSize={"large"}
|
||||
|
|
Loading…
Reference in New Issue