Skip to content

Commit

Permalink
Merge pull request #50278 from nextcloud/backport/50265/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(encryption): handle empty encryptionModules fine
  • Loading branch information
max-nextcloud authored Jan 20, 2025
2 parents 3d0e117 + 2b43208 commit b5a7f91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/settings/src/components/Encryption.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
encryptionModules,
shouldDisplayWarning: false,
migrating: false,
defaultCheckedModule: Object.entries(encryptionModules).find((module) => module[1].default)[0],
defaultCheckedModule: Object.entries(encryptionModules).find((module) => module[1].default)?.[0],
}
},
computed: {
Expand Down
Loading

0 comments on commit b5a7f91

Please sign in to comment.