Fix alphabetical sorting of screens
This commit is contained in:
parent
6e5cdb4828
commit
8795263192
|
@ -10,8 +10,8 @@
|
|||
|
||||
export let screens = []
|
||||
|
||||
$: sortedScreens = screens.sort(
|
||||
(s1, s2) => s1.props._instanceName > s2.props._instanceName
|
||||
$: sortedScreens = screens.sort((s1, s2) =>
|
||||
s1.props._instanceName > s2.props._instanceName ? 1 : -1
|
||||
)
|
||||
/*
|
||||
Using a store here seems odd....
|
||||
|
|
Loading…
Reference in New Issue