We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40ca13 commit 8c2ecbdCopy full SHA for 8c2ecbd
src/layout/components/TagsView/src/TagsView.vue
@@ -358,12 +358,13 @@ watch(
358
>
359
<Icon
360
v-if="
361
- item?.matched &&
362
- item?.matched[1] &&
363
- item?.matched[1]?.meta?.icon &&
364
- tagsViewIcon
+ tagsViewIcon &&
+ (item?.meta?.icon ||
+ (item?.matched &&
+ item.matched[0] &&
365
+ item.matched[item.matched.length - 1].meta?.icon))
366
"
- :icon="item?.matched[1]?.meta?.icon"
367
+ :icon="item?.meta?.icon || item.matched[item.matched.length - 1].meta.icon"
368
:size="12"
369
class="mr-5px"
370
/>
0 commit comments