Skip to content

Commit a809c82

Browse files
committed
Display 'Note to recipient' only for email shares
1 parent 435741e commit a809c82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/SharingDetailsTab.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@
8888
:placeholder="t('files_sharing', 'Expiration date')"
8989
type="date"
9090
@input="onExpirationChange" />
91-
<NcCheckboxRadioSwitch v-if="(isLinkShare || isEmailShare)" :checked.sync="writeNoteToRecipientIsChecked">
91+
<NcCheckboxRadioSwitch v-if="isEmailShare" :checked.sync="writeNoteToRecipientIsChecked">
9292
{{ t('files_sharing', 'Note to recipient') }}
9393
</NcCheckboxRadioSwitch>
94-
<template v-if="writeNoteToRecipientIsChecked">
94+
<template v-if="writeNoteToRecipientIsChecked && isEmailShare">
9595
<textarea :value="share.note" @input="share.note = $event.target.value" />
9696
</template>
9797
<DownloadLimit v-if="(isLinkShare || isEmailShare) && !isNewShare && !isFolder"

0 commit comments

Comments
 (0)