aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-12-10 10:24:19 +0100
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-12-10 18:47:14 +0100
commitf2898df23d8263ef00822131856ad587badaf7eb (patch)
tree0932b674de250c2272b66385f6213e47065d8d08 /apps
parent1e44c671c853168b3cdf40a01f573840a0cb7110 (diff)
downloadnextcloud-server-f2898df23d8263ef00822131856ad587badaf7eb.tar.gz
nextcloud-server-f2898df23d8263ef00822131856ad587badaf7eb.zip
fix(SharingEntryQuickShareSelect): Disable quick share select if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue b/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
index 8bb982326ff..565bee1d821 100644
--- a/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
+++ b/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
@@ -8,6 +8,7 @@
:menu-name="selectedOption"
:aria-label="ariaLabel"
type="tertiary-no-background"
+ :disabled="!share.canEdit"
force-name>
<template #icon>
<DropdownIcon :size="15" />