Skip to content

Commit

Permalink
24.02.56: fixed wt-search-bar search modes [WTEL-3889]
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Feb 21, 2024
1 parent 9135a82 commit df3771e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webitel/ui-sdk",
"version": "24.2.55",
"version": "24.2.56",
"private": false,
"scripts": {
"dev": "vite",
Expand Down
4 changes: 2 additions & 2 deletions src/components/wt-search-bar/wt-search-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<template #option="{ value, text }">
<wt-radio
:label="text"
:selected="searchMode.value === value"
:selected="(typeof searchMode === 'string' ? searchMode : searchMode.value) === value"
:value="true"
/>
</template>
Expand Down Expand Up @@ -105,7 +105,7 @@ const props = defineProps({
description: 'Adds hint icon + tooltip with text, passed as "hint" prop',
},
searchMode: {
type: String,
type: [String, Object],
},
searchModeOptions: {
type: Array,
Expand Down

0 comments on commit df3771e

Please sign in to comment.