fix(files_sharing): Stop hiding delete share button in advanced settings menu

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2025-06-23 09:41:21 +02:00
parent b95d300763
commit 46d149a0fa
No known key found for this signature in database

View file

@ -226,19 +226,6 @@
{{ 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>
@ -249,6 +236,19 @@
@click="cancel">
{{ t('files_sharing', 'Cancel') }}
</NcButton>
<div class="sharingTabDetailsView__delete">
<NcButton v-if="!isNewShare"
:aria-label="t('files_sharing', 'Delete share')"
:disabled="false"
:readonly="false"
variant="tertiary"
@click.prevent="removeShare">
<template #icon>
<CloseIcon :size="20" />
</template>
{{ t('files_sharing', 'Delete share') }}
</NcButton>
</div>
<NcButton type="primary"
data-cy-files-sharing-share-editor-action="save"
:disabled="creating"