Skip to content

Commit a67144c

Browse files
committed
#RI-4711 - update tooltip for exact match option
1 parent dbb8ba2 commit a67144c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

redisinsight/ui/src/pages/browser/components/search-key-list/SearchKeyList.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ const SearchKeyList = () => {
150150
}}
151151
optionalButton={searchMode === SearchMode.Pattern ? (
152152
<EuiToolTip
153-
content="Exact Search"
153+
title="Exact Search"
154+
content={exactMatch ? 'Disable to see keys matching your pattern' : 'Enable to see keys that exactly match your pattern'}
154155
position="bottom"
155156
>
156157
<EuiButtonIcon

redisinsight/ui/src/slices/browser/keys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const initialState: KeysStore = {
8080
isBrowserFullScreen: false,
8181
searchMode: localStorageService?.get(BrowserStorageItem.browserSearchMode) ?? SearchMode.Pattern,
8282
viewType: localStorageService?.get(BrowserStorageItem.browserViewType) ?? KeyViewType.Browser,
83-
exactMatch: localStorageService?.get(BrowserStorageItem.browserExactMatch) ?? false,
83+
exactMatch: localStorageService?.get(BrowserStorageItem.browserExactMatch) ?? true,
8484
data: {
8585
total: 0,
8686
scanned: 0,

0 commit comments

Comments
 (0)