From 301006af2053bd210b8d9585b7b5f64a6f3b7aac Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Tue, 15 Sep 2020 17:47:30 +0200 Subject: Build assets and fix unified search event syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/src/views/UnifiedSearch.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/src') 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) { -- cgit v1.2.3