Skip to content

Commit

Permalink
fix: add flags to not highlight rows
Browse files Browse the repository at this point in the history
  • Loading branch information
mayan-000 committed Feb 20, 2024
1 parent 3847489 commit 27242be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const AffectedCookies = ({ cookies, selectedSite }: AffectedCookiesProps) => {
>
<CookieTable
data={cookies.map((cookie) => ({ ...cookie, isBlocked: undefined }))} // Hot Fix: To unhighlight cookies in the Affected Cookie table.
useIsBlockedToHighlight={true} // Hot Fix: To use isBlocked to highlight cookies in the Affected Cookie table.
tableColumns={tableColumns}
showTopBar={true}
tableFilters={filters}
Expand All @@ -70,7 +71,10 @@ const AffectedCookies = ({ cookies, selectedSite }: AffectedCookiesProps) => {
setSelectedFrameCookie={setSelectedFrameCookie}
/>
</Resizable>
<CookieDetails selectedFrameCookie={selectedFrameCookie} />
<CookieDetails
selectedFrameCookie={selectedFrameCookie}
isUsingCDP={false}
/>
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ const Technologies = ({ selectedSite }: TechnologiesProps) => {
className="h-full flex"
>
<Table
useIsBlockedToHighlight={true} // Hot Fix: To fail the condition intentionally and not highlight the rows.
table={table}
hideFiltering={true}
showTopBar={true}
Expand Down

0 comments on commit 27242be

Please sign in to comment.