Skip to content

Commit

Permalink
Merge pull request #3762 from owncloud/bugfix/optional-chaining-locat…
Browse files Browse the repository at this point in the history
…ion-picker

Do not use optional chaining in location picker
  • Loading branch information
Vincent Petry authored Jul 10, 2020
2 parents 1ed097f + e05a3b0 commit 08caffb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default {
},
canConfirm() {
return this.currentFolder?.canCreate()
return this.currentFolder && this.currentFolder.canCreate()
},
title() {
Expand Down

0 comments on commit 08caffb

Please sign in to comment.