aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-11-15 10:46:30 +0100
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-11-15 17:11:10 +0100
commit9d9fffb9d35febbac3af74c9385df7c6d3150fc1 (patch)
treefdad6537fc6bec3b175af449a1d65030ac053ec1 /apps/files_sharing/src
parentc2658bf913e2fb6f075428710ebb788dbe84bb11 (diff)
downloadnextcloud-server-9d9fffb9d35febbac3af74c9385df7c6d3150fc1.tar.gz
nextcloud-server-9d9fffb9d35febbac3af74c9385df7c6d3150fc1.zip
Move delete share button into the scrolling container
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/views/SharingDetailsTab.vue26
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue
index 402dbd980bf..1ff5bbd66b4 100644
--- a/apps/files_sharing/src/views/SharingDetailsTab.vue
+++ b/apps/files_sharing/src/views/SharingDetailsTab.vue
@@ -177,24 +177,24 @@
{{ t('files_sharing', 'Delete') }}
</NcCheckboxRadioSwitch>
</section>
+ <div class="sharingTabDetailsView__delete">
+ <NcButton v-if="!isNewShare"
+ :aria-label="t('files_sharing', 'Delete share')"
+ :disabled="false"
+ :readonly="false"
+ type="tertiary"
+ @click.prevent="removeShare">
+ <template #icon>
+ <CloseIcon :size="16" />
+ </template>
+ {{ t('files_sharing', 'Delete share') }}
+ </NcButton>
+ </div>
</section>
</div>
</div>
<div class="sharingTabDetailsView__footer">
- <div class="sharingTabDetailsView__delete">
- <NcButton v-if="!isNewShare"
- :aria-label="t('files_sharing', 'Delete share')"
- :disabled="false"
- :readonly="false"
- type="tertiary"
- @click.prevent="removeShare">
- <template #icon>
- <CloseIcon :size="16" />
- </template>
- {{ t('files_sharing', 'Delete share') }}
- </NcButton>
- </div>
<div class="button-group">
<NcButton @click="$emit('close-sharing-details')">
{{ t('files_sharing', 'Cancel') }}