Browse Source

Build assets and fix unified search event syntax

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
tags/v21.0.0beta1
John Molakvoæ (skjnldsv) 3 years ago
parent
commit
301006af20
No account linked to committer's email address

+ 2
- 0
apps/settings/js/vue-settings-apps-819bd91780a5b5e34199.js
File diff suppressed because it is too large
View File


+ 1
- 0
apps/settings/js/vue-settings-apps-819bd91780a5b5e34199.js.map
File diff suppressed because it is too large
View File


+ 2
- 2
apps/settings/js/vue-settings-apps-users-management.js
File diff suppressed because it is too large
View File


+ 1
- 1
apps/settings/js/vue-settings-apps-users-management.js.map
File diff suppressed because it is too large
View File


+ 2
- 0
apps/settings/js/vue-settings-users-d0f700c33b614b07a2ad.js
File diff suppressed because it is too large
View File


+ 1
- 0
apps/settings/js/vue-settings-users-d0f700c33b614b07a2ad.js.map
File diff suppressed because it is too large
View File


+ 4
- 4
apps/settings/src/components/UserList.vue View File

@@ -426,8 +426,8 @@ export default {
/**
* Register search
*/
subscribe('nextcloud:unified-search:search', this.search)
subscribe('nextcloud:unified-search:reset', this.resetSearch)
subscribe('nextcloud:unified-search.search', this.search)
subscribe('nextcloud:unified-search.reset', this.resetSearch)

/**
* If disabled group but empty, redirect
@@ -435,8 +435,8 @@ export default {
this.redirectIfDisabled()
},
beforeDestroy() {
unsubscribe('nextcloud:unified-search:search', this.search)
unsubscribe('nextcloud:unified-search:reset', this.resetSearch)
unsubscribe('nextcloud:unified-search.search', this.search)
unsubscribe('nextcloud:unified-search.reset', this.resetSearch)
},

methods: {

+ 4
- 4
apps/settings/src/views/Apps.vue View File

@@ -280,12 +280,12 @@ export default {
},

mounted() {
subscribe('nextcloud:unified-search:search', this.setSearch)
subscribe('nextcloud:unified-search:reset', this.resetSearch)
subscribe('nextcloud:unified-search.search', this.setSearch)
subscribe('nextcloud:unified-search.reset', this.resetSearch)
},
beforeDestroy() {
unsubscribe('nextcloud:unified-search:search', this.setSearch)
unsubscribe('nextcloud:unified-search:reset', this.resetSearch)
unsubscribe('nextcloud:unified-search.search', this.setSearch)
unsubscribe('nextcloud:unified-search.reset', this.resetSearch)
},

methods: {

+ 1
- 1
core/js/dist/files_client.js
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/files_client.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/files_fileinfo.js
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/files_fileinfo.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/files_iedavclient.js
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/files_iedavclient.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/install.js
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/install.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/login.js
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/login.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/main.js
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/main.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/maintenance.js
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/maintenance.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/unified-search.js
File diff suppressed because it is too large
View File


+ 1
- 1
core/js/dist/unified-search.js.map
File diff suppressed because it is too large
View File


+ 3
- 3
core/src/views/UnifiedSearch.vue View File

@@ -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) {

Loading…
Cancel
Save