]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix ShareLink Upload UI for Folders
authorJonas Rittershofer <jotoeri@users.noreply.github.com>
Tue, 14 Dec 2021 00:02:04 +0000 (01:02 +0100)
committerJonas Rittershofer <jotoeri@users.noreply.github.com>
Wed, 15 Dec 2021 18:49:56 +0000 (19:49 +0100)
Do not show the Upload-Option if it is not allowed to check.

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
apps/files_sharing/src/components/SharingEntryLink.vue

index c61b9617eed9036ddef33fdd53c018ad198b470b..87ffbf703a7651ee14affaa57924c87fe178e2fd 100644 (file)
                                        </template>
 
                                        <!-- file -->
-                                       <ActionCheckbox v-else
+                                       <ActionCheckbox v-if="!isFolder"
                                                :checked.sync="canUpdate"
                                                :disabled="saving"
                                                @change="queueUpdate('permissions')">