mirror of
https://github.com/hyprwm/hyprland-website.git
synced 2024-12-23 02:39:48 +01:00
communityslice: sort by size
This commit is contained in:
parent
a85a6f2976
commit
685ab939e2
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@
|
||||||
size: 80,
|
size: 80,
|
||||||
class: 'outline-amber-500 bg-black '
|
class: 'outline-amber-500 bg-black '
|
||||||
}
|
}
|
||||||
]
|
].sort(({ size: a }, { size: b }) => b - a)
|
||||||
|
|
||||||
setContext(contextId, {
|
setContext(contextId, {
|
||||||
biggestSize: profiles.reduce(
|
biggestSize: profiles.reduce(
|
||||||
|
|
Loading…
Reference in a new issue