Merge pull request #24081 from nextcloud/backport/24066/stable20

[stable20] Fix default internal expiration date enforce
This commit is contained in:
Roeland Jago Douma 2020-11-13 08:37:54 +01:00 committed by GitHub
commit 8ebafbb7dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -80,9 +80,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>