]> source.dussan.org Git - nextcloud-server.git/commitdiff
Rename "pendingPassword" to "pendingEnforcedPassword"
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Tue, 9 May 2023 23:51:50 +0000 (01:51 +0200)
committerChristopher Ng <chrng8@gmail.com>
Tue, 13 Jun 2023 22:08:45 +0000 (15:08 -0700)
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
(cherry picked from commit d80f8fc84f0e548ebf7520ee0995d6e06ec00c1d)

apps/files_sharing/src/components/SharingEntryLink.vue

index 7622efa6fac2cba376eba1015e820e39df5d7c4c..a81cfcffb5d5e8941c354decdd08e37005b4595c 100644 (file)
@@ -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"
@@ -515,7 +515,7 @@ export default {
                 *
                 * @return {boolean}
                 */
-               pendingPassword() {
+               pendingEnforcedPassword() {
                        return this.config.enforcePasswordForPublicLink && this.share && !this.share.id
                },
                pendingExpirationDate() {