Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Fedotov authored and Denys Fedotov committed Jan 24, 2025
1 parent ca41b7e commit ee3996c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/mmm/mmm.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function createSearchField(data, sharedUrlSettings) {

function isSelectedLastSeenDropdownOption(key) {
const searchKey = new URL(window.location.href).searchParams.get('lastSeenManifest');
if (searchKey) return searchKey * 1 === key;
if (searchKey) return searchKey === key;
return LAST_SEEN_OPTIONS[key].key === SEARCH_INITIAL_VALUES.lastSeenManifest;
}

Expand Down

0 comments on commit ee3996c

Please sign in to comment.