From fa4b3273e8f65f6dc744e506bfc9caef7802b4ae Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 12 Feb 2024 10:28:34 +0100 Subject: fix(sharing): Move video verification option to password and hide without Talk Signed-off-by: Joas Schilling --- apps/files_sharing/src/views/SharingDetailsTab.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'apps/files_sharing') diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index 8a77100bac1..4681e59391d 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -120,6 +120,11 @@ {{ t('files_sharing', 'Password expired') }} + + {{ t('files_sharing', 'Video verification') }} + {{ isExpiryDateEnforced ? t('files_sharing', 'Expiration date (enforced)') @@ -140,11 +145,6 @@ @update:checked="queueUpdate('hideDownload')"> {{ t('files_sharing', 'Hide download') }} - - {{ t('files_sharing', 'Video verification') }} - {{ t('files_sharing', 'Allow download') }} @@ -618,8 +618,8 @@ export default { return false } - // Anything else should be fine - return true + // Is Talk enabled? + return OC.appswebroots.spreed !== undefined }, canChangeHideDownload() { const hasDisabledDownload = (shareAttribute) => shareAttribute.key === 'download' && shareAttribute.scope === 'permissions' && shareAttribute.enabled === false -- cgit v1.2.3