Skip to content

Commit 4b2b787

Browse files
committed
1 parent c13c5f2 commit 4b2b787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/src/components/pos-container-contents/pos-container-contents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class PosContainerContents implements ResourceAware {
4949
this.container
5050
.observeContains()
5151
.pipe(takeUntil(this.disconnected$))
52-
.subscribe(contains => (this.contents = contains.sort((a, b) => a.name.localeCompare(b.name))));
52+
.subscribe(contains => (this.contents = contains.toSorted((a, b) => a.name.localeCompare(b.name))));
5353
};
5454

5555
render() {

0 commit comments

Comments
 (0)