Skip to content

Commit

Permalink
set the nvp for the tooltip if no saved searches present
Browse files Browse the repository at this point in the history
  • Loading branch information
lakchote committed Sep 23, 2024
1 parent 4523eaa commit 77e9333
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/Search/AdvancedSearchFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ function AdvancedSearchFilters() {
return;
}

if (savedSearches === undefined) {
SearchActions.setShouldShowSavedSearchRenameTooltip();
}

SearchActions.saveSearch({
queryJSON,
});
Expand Down

0 comments on commit 77e9333

Please sign in to comment.