Skip to content

Commit 38d3660

Browse files
luka-nextcloudbackportbot[bot]
authored andcommitted
fix: not show Share with a Deck card for unauthorized users
Signed-off-by: Luka Trovic <luka@nextcloud.com>
1 parent 0bffb5d commit 38d3660

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/views/FileSharingPicker.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,7 @@ export default {
4242

4343
})
4444
},
45-
condition: self => true,
45+
condition: self => {
46+
return !!OC.appswebroots.deck
47+
},
4648
}

0 commit comments

Comments
 (0)