Skip to content

Commit 0060381

Browse files
committed
fix: show unknown federated users in search
Signed-off-by: grnd-alt <git@belakkaf.net>
1 parent cb42270 commit 0060381

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/board/SharingTabSidebar.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default {
138138
...item,
139139
displayName: item.displayname || item.name || item.label || item.id,
140140
user: item.id,
141-
subname: item.shareWithDisplayNameUnique || item.subline, // NcSelectUser does its own pattern matching to filter things out
141+
subname: item.shareWithDisplayNameUnique || item.subline || item.id, // NcSelectUser does its own pattern matching to filter things out
142142
}
143143
return res
144144
}).slice(0, 10)
@@ -147,7 +147,6 @@ export default {
147147
unallocatedSharees() {
148148
return this.sharees.filter((sharee) => {
149149
const foundIndex = this.board.acl.findIndex((acl) => {
150-
console.debug()
151150
if (acl.participant.uid === sharee.id && acl.type === SOURCE_TO_SHARE_TYPE[sharee.source]) {
152151
return true
153152
}

src/store/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ export default function storeFactory() {
433433
const params = {
434434
search: query,
435435
itemType: 'deck',
436-
shareTypes: [0, 1, 4, 6, 7],
436+
shareTypes: [0, 1, 6, 7],
437437
limit: 20,
438438
}
439439

0 commit comments

Comments
 (0)