Skip to content

Commit

Permalink
Merge pull request #24066 from nextcloud/fix/sharing/expiration-date-…
Browse files Browse the repository at this point in the history
…internal

Fix default internal expiration date enforce
  • Loading branch information
juliusknorr authored Nov 12, 2020
2 parents 81070c7 + bd70dd7 commit 35be4fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/files_sharing/js/dist/files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/files_sharing/js/dist/files_sharing_tab.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apps/files_sharing/src/components/SharingEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@

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

0 comments on commit 35be4fd

Please sign in to comment.