We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03933c5 commit 9743d2aCopy full SHA for 9743d2a
src/libs/observable-api/states/array-state.ts
@@ -36,7 +36,7 @@ export class UmbArrayState<T> extends UmbDeepState<T[]> {
36
sortBy(sortMethod?: (a: T, b: T) => number) {
37
this.#sortMethod = sortMethod;
38
const value = this.getValue();
39
- if(value) {
+ if (value) {
40
super.setValue([...value].sort(this.#sortMethod));
41
}
42
return this;
0 commit comments