mirror of
https://github.com/nextcloud/server.git
synced 2026-04-14 13:38:10 -04:00
fix(sharing): Move video verification option to password and hide without Talk
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
61f58e8043
commit
fa4b3273e8
1 changed files with 7 additions and 7 deletions
|
|
@ -120,6 +120,11 @@
|
|||
{{ t('files_sharing', 'Password expired') }}
|
||||
</span>
|
||||
</template>
|
||||
<NcCheckboxRadioSwitch v-if="canTogglePasswordProtectedByTalkAvailable"
|
||||
:checked.sync="isPasswordProtectedByTalk"
|
||||
@update:checked="onPasswordProtectedByTalkChange">
|
||||
{{ t('files_sharing', 'Video verification') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
<NcCheckboxRadioSwitch :checked.sync="hasExpirationDate" :disabled="isExpiryDateEnforced">
|
||||
{{ isExpiryDateEnforced
|
||||
? t('files_sharing', 'Expiration date (enforced)')
|
||||
|
|
@ -140,11 +145,6 @@
|
|||
@update:checked="queueUpdate('hideDownload')">
|
||||
{{ t('files_sharing', 'Hide download') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
<NcCheckboxRadioSwitch v-if="canTogglePasswordProtectedByTalkAvailable"
|
||||
:checked.sync="isPasswordProtectedByTalk"
|
||||
@update:checked="onPasswordProtectedByTalkChange">
|
||||
{{ t('files_sharing', 'Video verification') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
<NcCheckboxRadioSwitch v-if="!isPublicShare" :disabled="!canSetDownload" :checked.sync="canDownload">
|
||||
{{ t('files_sharing', 'Allow download') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue