aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2023-05-10 01:51:50 +0200
committerJoas Schilling <coding@schilljs.com>2023-05-22 12:49:15 +0200
commitd80f8fc84f0e548ebf7520ee0995d6e06ec00c1d (patch)
tree36920ca89c92266443d972f0fc50ce58be25b279 /apps/files_sharing/src/components
parent30e445773d25d7bd21e6c283c37a3c95e29d2de7 (diff)
downloadnextcloud-server-d80f8fc84f0e548ebf7520ee0995d6e06ec00c1d.tar.gz
nextcloud-server-d80f8fc84f0e548ebf7520ee0995d6e06ec00c1d.zip
Rename "pendingPassword" to "pendingEnforcedPassword"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files_sharing/src/components')
-rw-r--r--apps/files_sharing/src/components/SharingEntryLink.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue
index b3740d4097f..f0183ba3ea3 100644
--- a/apps/files_sharing/src/components/SharingEntryLink.vue
+++ b/apps/files_sharing/src/components/SharingEntryLink.vue
@@ -47,7 +47,7 @@
</NcActions>
<!-- pending actions -->
- <NcActions v-if="!pending && (pendingPassword || pendingExpirationDate)"
+ <NcActions v-if="!pending && (pendingEnforcedPassword || pendingExpirationDate)"
class="sharing-entry__actions"
:aria-label="actionsTooltip"
menu-align="right"
@@ -64,7 +64,7 @@
</NcActionText>
<!-- password -->
- <NcActionText v-if="pendingPassword" icon="icon-password">
+ <NcActionText v-if="pendingEnforcedPassword" icon="icon-password">
{{ t('files_sharing', 'Password protection (enforced)') }}
</NcActionText>
<NcActionCheckbox v-else-if="config.enableLinkPasswordByDefault"
@@ -75,7 +75,7 @@
{{ t('files_sharing', 'Password protection') }}
</NcActionCheckbox>
- <NcActionInput v-if="pendingPassword || share.password"
+ <NcActionInput v-if="pendingEnforcedPassword || share.password"
class="share-link-password"
:value.sync="share.password"
:disabled="saving"
@@ -516,7 +516,7 @@ export default {
*
* @return {boolean}
*/
- pendingPassword() {
+ pendingEnforcedPassword() {
return this.config.enforcePasswordForPublicLink && this.share && !this.share.id
},
pendingExpirationDate() {