Browse Source

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

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/53639/head
provokateurin 5 months ago
parent
commit
d55b1eeb33
Failed to extract signature
  1. 26
      apps/files_sharing/src/views/SharingDetailsTab.vue

26
apps/files_sharing/src/views/SharingDetailsTab.vue

@ -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…
Cancel
Save