diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-20 14:21:43 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-21 15:13:52 +0300 |
commit | e101882b9205bf33aa853dfd97753f65e724ff9f (patch) | |
tree | 5051da8a3903531fa43ded2b2ce27c59fe595a83 /apps/files_sharing/src/components | |
parent | ed729c65de08c94fc021a9a46820dbd6be0e3743 (diff) |
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_sharing/src/components')
4 files changed, 11 insertions, 22 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index d5d7f62a832..2d29aaf1dc6 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -39,14 +39,12 @@ <span>{{ share.status.message || '' }}</span> </p> </component> - <Actions - menu-align="right" + <Actions menu-align="right" class="sharing-entry__actions" @close="onMenuClose"> <template v-if="share.canEdit"> <!-- edit permission --> - <ActionCheckbox - ref="canEdit" + <ActionCheckbox ref="canEdit" :checked.sync="canEdit" :value="permissionsEdit" :disabled="saving || !canSetEdit"> @@ -54,8 +52,7 @@ </ActionCheckbox> <!-- create permission --> - <ActionCheckbox - v-if="isFolder" + <ActionCheckbox v-if="isFolder" ref="canCreate" :checked.sync="canCreate" :value="permissionsCreate" @@ -64,8 +61,7 @@ </ActionCheckbox> <!-- delete permission --> - <ActionCheckbox - v-if="isFolder" + <ActionCheckbox v-if="isFolder" ref="canDelete" :checked.sync="canDelete" :value="permissionsDelete" @@ -74,8 +70,7 @@ </ActionCheckbox> <!-- reshare permission --> - <ActionCheckbox - v-if="config.isResharingAllowed" + <ActionCheckbox v-if="config.isResharingAllowed" ref="canReshare" :checked.sync="canReshare" :value="permissionsShare" @@ -112,8 +107,7 @@ <!-- note --> <template v-if="canHaveNote"> - <ActionCheckbox - :checked.sync="hasNote" + <ActionCheckbox :checked.sync="hasNote" :disabled="saving" @uncheck="queueUpdate('note')"> {{ t('files_sharing', 'Note to recipient') }} diff --git a/apps/files_sharing/src/components/SharingEntryInherited.vue b/apps/files_sharing/src/components/SharingEntryInherited.vue index b8b5674efc9..72a513cfb1f 100644 --- a/apps/files_sharing/src/components/SharingEntryInherited.vue +++ b/apps/files_sharing/src/components/SharingEntryInherited.vue @@ -21,13 +21,11 @@ --> <template> - <SharingEntrySimple - :key="share.id" + <SharingEntrySimple :key="share.id" class="sharing-entry__inherited" :title="share.shareWithDisplayName"> <template #avatar> - <Avatar - :user="share.shareWith" + <Avatar :user="share.shareWith" :display-name="share.shareWithDisplayName" class="sharing-entry__avatar" tooltip-message="" /> diff --git a/apps/files_sharing/src/components/SharingEntryInternal.vue b/apps/files_sharing/src/components/SharingEntryInternal.vue index e96a85340a6..73b86d26180 100644 --- a/apps/files_sharing/src/components/SharingEntryInternal.vue +++ b/apps/files_sharing/src/components/SharingEntryInternal.vue @@ -1,7 +1,6 @@ <template> - <SharingEntrySimple - class="sharing-entry__internal" + <SharingEntrySimple class="sharing-entry__internal" :title="t('files_sharing', 'Internal link')" :subtitle="internalLinkSubtitle"> <template #avatar> diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index af2ea4cc6e5..5a49a1d4976 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -133,8 +133,7 @@ <template v-if="share"> <template v-if="share.canEdit && canReshare"> <!-- Custom Label --> - <ActionInput - ref="label" + <ActionInput ref="label" v-tooltip.auto="{ content: errors.label, show: errors.label, @@ -185,8 +184,7 @@ {{ t('files_sharing', 'Allow editing') }} </ActionCheckbox> - <ActionCheckbox - :checked.sync="share.hideDownload" + <ActionCheckbox :checked.sync="share.hideDownload" :disabled="saving" @change="queueUpdate('hideDownload')"> {{ t('files_sharing', 'Hide download') }} |