mirror of
https://github.com/nextcloud/server.git
synced 2026-05-25 18:52:53 -04:00
fix(files_sharing): Stop hiding delete share button in advanced settings menu
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
b95d300763
commit
46d149a0fa
1 changed files with 13 additions and 13 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue