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()
|
||||
.map { collections ->
|
||||
collections
|
||||
.sortedWith(StringComparatorIgnoreCase { it.name })
|
||||
.map { collection ->
|
||||
val enabled = collection.id !in args.blacklistedCollectionIds &&
|
||||
!collection.readOnly
|
||||
|
|
Loading…
Reference in New Issue