UI: Change sort order to show own before incoming shares

This commit is contained in:
Max Berger
2026-05-02 22:24:13 +02:00
parent 16a0592e5d
commit 67aa15b32d
4 changed files with 136 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ export function extractUsernameFromPrincipalCollection(principal_collection) {
export function extract_title(collection) {
if (collection.displayname && collection.displayname.length > 0) {
return collection.displayname;
} else if (collection.type = CollectionType.PRINCIPAL) {
} else if (collection.type === CollectionType.PRINCIPAL) {
return extractUsernameFromPrincipalCollection(collection)
} else
return decodeURIComponent(collection.href);