Compare commits
1 Commits
v1.2.0-alp
...
v1.2.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
280c61f857 |
@@ -652,6 +652,13 @@ const filteredApps = computed(() => {
|
||||
)
|
||||
}
|
||||
|
||||
// Sort: available apps first, installed apps at the bottom
|
||||
apps.sort((a, b) => {
|
||||
const aInstalled = isInstalled(a.id) ? 1 : 0
|
||||
const bInstalled = isInstalled(b.id) ? 1 : 0
|
||||
return aInstalled - bInstalled
|
||||
})
|
||||
|
||||
return apps
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user