Skip to content
Snippets Groups Projects
Unverified Commit fab61771 authored by Uladzimir Havenchyk's avatar Uladzimir Havenchyk Committed by GitHub
Browse files

dx: handle CSP errors in pivot table (#46766)

parent d62f868f
No related branches found
No related tags found
No related merge requests found
...@@ -441,7 +441,7 @@ function _PivotTable({ ...@@ -441,7 +441,7 @@ function _PivotTable({
<div className={cx(CS.flex, CS.flexFull)}> <div className={cx(CS.flex, CS.flexFull)}>
{/* left header */} {/* left header */}
<div style={{ width: leftHeaderWidth }}> <div style={{ width: leftHeaderWidth }}>
<AutoSizer disableWidth> <AutoSizer disableWidth nonce={window.MetabaseNonce}>
{() => ( {() => (
<Collection <Collection
ref={leftHeaderRef} ref={leftHeaderRef}
...@@ -480,7 +480,7 @@ function _PivotTable({ ...@@ -480,7 +480,7 @@ function _PivotTable({
</div> </div>
{/* pivot table body */} {/* pivot table body */}
<div> <div>
<AutoSizer disableWidth> <AutoSizer disableWidth nonce={window.MetabaseNonce}>
{() => ( {() => (
<Grid <Grid
aria-label={PIVOT_TABLE_BODY_LABEL} aria-label={PIVOT_TABLE_BODY_LABEL}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment