Add preset sorting
This commit is contained in:
parent
f21db51d5a
commit
d5ed1f9350
@ -33,5 +33,9 @@ export class PresetService {
|
|||||||
this.singlePresets.push(presetMap.get(key)[0]);
|
this.singlePresets.push(presetMap.get(key)[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (let presets of this.multiPresets.values()) {
|
||||||
|
presets = presets.sort((a, b) => a.value[0] > b.value[0] ? 1 : -1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user