Skip to content

Commit

Permalink
Fix: inconsistent highlighting on livemint.com (#683)
Browse files Browse the repository at this point in the history
* fix: highlight issues in cookies issue panel

* Use blockedEntry for isBlocked key

---------

Co-authored-by: Mayank Rana <mayankranax1@gmail.com>
  • Loading branch information
ayushnirwal and mayan-000 authored May 30, 2024
1 parent 86cf294 commit cbb862d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export const parseNetworkDataToCookieData = (
...cookie,
url: response.serverUrl,
blockedReasons: Array.from(blockedReasonsSet),
isBlocked: Array.from(blockedReasonsSet).length > 0,
parsedCookie: {
...cookie.parsedCookie,
domain: parsedDomain || '',
Expand Down Expand Up @@ -150,6 +151,7 @@ export const parseNetworkDataToCookieData = (
...cookie,
url: request.serverUrl,
blockedReasons: Array.from(blockedReasonsSet),
isBlocked: Array.from(blockedReasonsSet).length > 0,
parsedCookie: { ...cookie.parsedCookie, domain: parsedDomain || '' },
});
});
Expand Down

0 comments on commit cbb862d

Please sign in to comment.