Skip to content

Commit a7851c9

Browse files
authored
Merge pull request #56762 from nextcloud/backport/56278/stable31
2 parents 8a748a7 + 106a817 commit a7851c9

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

apps/files_sharing/src/mixins/SharesMixin.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,8 @@ export default {
173173
if (this.passwordProtectedState !== undefined) {
174174
return this.passwordProtectedState
175175
}
176-
return this.share.newPassword !== undefined
177-
|| this.share.password !== undefined
178-
176+
return typeof this.share.newPassword === 'string'
177+
|| typeof this.share.password === 'string'
179178
},
180179
async set(enabled) {
181180
if (enabled) {

dist/1406-1406.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/1406-1406.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)