Skip to content

Commit

Permalink
fixup! Add OCA.Files.Sidebar
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv committed Sep 9, 2019
1 parent eca5c7f commit f27f965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/files_sharing/src/components/SharingInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default {
},

isValidQuery() {
return this.query.trim() !== '' && this.query.length > this.config.minSearchStringLength
return this.query && this.query.trim() !== '' && this.query.length > this.config.minSearchStringLength
},

options() {
Expand Down Expand Up @@ -401,7 +401,7 @@ export default {
if (input) {
input.focus()
}
this.query = value
this.query = value.shareWith
} finally {
this.loading = false
}
Expand Down

0 comments on commit f27f965

Please sign in to comment.