]> source.dussan.org Git - nextcloud-server.git/commit
Fix share permissions rendering 32674/head
authorLouis Chemineau <louis@chmn.me>
Tue, 31 May 2022 12:11:46 +0000 (14:11 +0200)
committerLouis Chemineau <louis@chmn.me>
Thu, 9 Jun 2022 13:06:56 +0000 (15:06 +0200)
commit8a2b70fe67c8720ab4d6e0e91517fac09a59ceaa
treea1e976bcac84c77260ca62b35f7025fbdf8363c7
parent254cb7ad0cb2ebf31ca3124c48ef3de2b6e45e56
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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
apps/files_sharing/src/components/SharePermissionsEditor.vue
dist/files_sharing-files_sharing_tab.js
dist/files_sharing-files_sharing_tab.js.map