Fix default internal expiration date enforce

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-11-12 08:10:28 +01:00 committed by npmbuildbot-nextcloud[bot]
parent 9c59778ee1
commit e132c0560b
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -76,9 +76,9 @@
<!-- expiration date --> <!-- expiration date -->
<ActionCheckbox :checked.sync="hasExpirationDate" <ActionCheckbox :checked.sync="hasExpirationDate"
:disabled="config.isDefaultExpireDateEnforced || saving" :disabled="config.isDefaultInternalExpireDateEnforced || saving"
@uncheck="onExpirationDisable"> @uncheck="onExpirationDisable">
{{ config.isDefaultExpireDateEnforced {{ config.isDefaultInternalExpireDateEnforced
? t('files_sharing', 'Expiration date enforced') ? t('files_sharing', 'Expiration date enforced')
: t('files_sharing', 'Set expiration date') }} : t('files_sharing', 'Set expiration date') }}
</ActionCheckbox> </ActionCheckbox>