Browse Source

fix(unified-search): fix code highlighting

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
tags/v26.0.0rc1
John Molakvoæ 1 year ago
parent
commit
f26961d74a
No account linked to committer's email address
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      core/src/views/UnifiedSearch.vue

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

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

Loading…
Cancel
Save