]> source.dussan.org Git - nextcloud-server.git/commit
Fix share permissions rendering 32670/head
authorLouis Chemineau <louis@chmn.me>
Tue, 31 May 2022 12:11:46 +0000 (14:11 +0200)
committerLouis Chemineau <louis@chmn.me>
Tue, 31 May 2022 12:17:16 +0000 (14:17 +0200)
commit5fee0fbd5b7e3e8e0cb00154e0e6ae436cbf43bf
tree373cf5627f2686dc55de9c33e78876042988ad35
parent9a444a8be6c68ebe87d4833e51e5b0ee11b8c1c5
Fix share permissions rendering

The `SHARE` permissions falls into the `default` case in the switch case, causing the rendering to look like ` , Upload, Read`.

This PR changes the return value of the `default` case and adds a `filter` to remove those values.

Signed-off-by: Louis Chemineau <louis@chmn.me>
apps/files_sharing/src/components/SharePermissionsEditor.vue
dist/files_sharing-files_sharing_tab.js
dist/files_sharing-files_sharing_tab.js.map