Skip to content

Commit 00d7eaa

Browse files
committed
filter out bucket shared to owner
1 parent 045f1df commit 00d7eaa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

swift_browser_ui_frontend/src/common/globalFunctions.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,13 @@ export async function getSharingContainers (projectId, signal) {
5252
}
5353

5454
export async function getSharedContainers (projectId, signal) {
55-
return store.state.client
55+
let ret = store.state.client
5656
? await store.state.client.getAccess(projectId, signal)
5757
: [];
58+
59+
return ret.filter(accessEntry => {
60+
return accessEntry.owner != projectId;
61+
});
5862
}
5963

6064
export async function getAccessDetails (

0 commit comments

Comments
 (0)