improvement: Sort collections in the Ownership picker by name #225
This commit is contained in:
parent
9d6a47318b
commit
221e63f01e
@ -262,6 +262,7 @@ fun organizationConfirmationState(
|
|||||||
val collectionsFlow = getCollections()
|
val collectionsFlow = getCollections()
|
||||||
.map { collections ->
|
.map { collections ->
|
||||||
collections
|
collections
|
||||||
|
.sortedWith(StringComparatorIgnoreCase { it.name })
|
||||||
.map { collection ->
|
.map { collection ->
|
||||||
val enabled = collection.id !in args.blacklistedCollectionIds &&
|
val enabled = collection.id !in args.blacklistedCollectionIds &&
|
||||||
!collection.readOnly
|
!collection.readOnly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user