Skip to content

Commit 3b6f565

Browse files
committed
fix(files): better icon for the search scope
This allows to better identify the current search scope based on the icon instead of only the label of the search box. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 11f0a5f commit 3b6f565

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/files/src/components/FilesNavigationSearch.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-->
55

66
<script setup lang="ts">
7-
import { mdiMagnify, mdiSearchWeb } from '@mdi/js'
7+
import { mdiCog, mdiFilter, mdiMagnify, mdiSearchWeb } from '@mdi/js'
88
import { t } from '@nextcloud/l10n'
99
import { computed } from 'vue'
1010
import NcActions from '@nextcloud/vue/components/NcActions'
@@ -96,11 +96,11 @@ function onUpdateSearch(value: string) {
9696
<template #actions>
9797
<NcActions :aria-label="t('files', 'Search scope options')" :disabled="isSearchView">
9898
<template #icon>
99-
<NcIconSvgWrapper :path="searchStore.scope === 'globally' ? mdiSearchWeb : mdiMagnify" />
99+
<NcIconSvgWrapper :path="mdiCog" />
100100
</template>
101101
<NcActionButton close-after-click @click="searchStore.scope = 'filter'">
102102
<template #icon>
103-
<NcIconSvgWrapper :path="mdiMagnify" />
103+
<NcIconSvgWrapper :path="mdiFilter" />
104104
</template>
105105
{{ t('files', 'Filter in current view') }}
106106
</NcActionButton>

0 commit comments

Comments
 (0)