summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-15 17:47:30 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-18 08:11:54 +0200
commit301006af2053bd210b8d9585b7b5f64a6f3b7aac (patch)
treeb4d8af0cab05f9c51adfdcc43c547c91c3d8db92 /core/src
parent7991ed6cf3197180ec0e45333733016988dc302f (diff)
downloadnextcloud-server-301006af2053bd210b8d9585b7b5f64a6f3b7aac.tar.gz
nextcloud-server-301006af2053bd210b8d9585b7b5f64a6f3b7aac.zip
Build assets and fix unified search event syntax
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/UnifiedSearch.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue
index 0114f2fcf13..c83d2dc4351 100644
--- a/core/src/views/UnifiedSearch.vue
+++ b/core/src/views/UnifiedSearch.vue
@@ -312,14 +312,14 @@ export default {
this.types = await getTypes()
},
onClose() {
- emit('nextcloud:unified-search:close')
+ emit('nextcloud:unified-search.close')
},
/**
* Reset the search state
*/
onReset() {
- emit('nextcloud:unified-search:reset')
+ emit('nextcloud:unified-search.reset')
this.logger.debug('Search reset')
this.query = ''
this.resetState()
@@ -371,7 +371,7 @@ export default {
*/
async onInput() {
// emit the search query
- emit('nextcloud:unified-search:search', { query: this.query })
+ emit('nextcloud:unified-search.search', { query: this.query })
// Do not search if not long enough
if (this.query.trim() === '' || this.isShortQuery) {