diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-03-02 07:49:40 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-03-02 08:21:56 +0100 |
commit | f26961d74a9169fe11f6cc64bd8fb4c3f17f788a (patch) | |
tree | ab37ee91e422b86a6a31e28b05b47240bebed12a /core/src | |
parent | 47c64dadf461dff5f5fb3acf2876265231fe179b (diff) | |
download | nextcloud-server-f26961d74a9169fe11f6cc64bd8fb4c3f17f788a.tar.gz nextcloud-server-f26961d74a9169fe11f6cc64bd8fb4c3f17f788a.zip |
fix(unified-search): fix code highlighting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/views/UnifiedSearch.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue index a2a92c80596..5d3d6034f6a 100644 --- a/core/src/views/UnifiedSearch.vue +++ b/core/src/views/UnifiedSearch.vue @@ -77,12 +77,12 @@ placement="bottom" container=".unified-search__input-wrapper"> <!-- FIXME use element ref for container after https://github.com/nextcloud/nextcloud-vue/pull/3462 --> - <NcActionButton v-for="type in availableFilters" - :key="type" + <NcActionButton v-for="filter in availableFilters" + :key="filter" icon="icon-filter" - :title="t('core', 'Search for {name} only', { name: typesMap[type] })" - @click.stop="onClickFilter(`in:${type}`)"> - {{ `in:${type}` }} + :title="t('core', 'Search for {name} only', { name: typesMap[filter] })" + @click.stop="onClickFilter(`in:${filter}`)"> + {{ `in:${filter}` }} </NcActionButton> </NcActions> </div> |