mirror of
https://github.com/apache/superset.git
synced 2024-09-06 13:57:40 -04:00
fix: error alerts again (#17026)
This commit is contained in:
parent
03cdbac8bb
commit
ea700384b3
@ -59,7 +59,7 @@ export default function BasicErrorAlert({
|
|||||||
return (
|
return (
|
||||||
<StyledContainer level={level} role="alert">
|
<StyledContainer level={level} role="alert">
|
||||||
{!level || level === 'error' ? (
|
{!level || level === 'error' ? (
|
||||||
<Icons.ErrorSolid iconColor={theme.colors[level].base} />
|
<Icons.ErrorSolid iconColor={theme.colors.error.base} />
|
||||||
) : (
|
) : (
|
||||||
<Icons.WarningSolid iconColor={theme.colors[level].base} />
|
<Icons.WarningSolid iconColor={theme.colors[level].base} />
|
||||||
)}
|
)}
|
||||||
|
@ -111,7 +111,7 @@ export default function ErrorAlert({
|
|||||||
{!level || level === 'error' ? (
|
{!level || level === 'error' ? (
|
||||||
<Icons.ErrorSolid
|
<Icons.ErrorSolid
|
||||||
className="icon"
|
className="icon"
|
||||||
iconColor={theme.colors[level].base}
|
iconColor={theme.colors.error.base}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Icons.WarningSolid
|
<Icons.WarningSolid
|
||||||
@ -174,7 +174,7 @@ export default function ErrorAlert({
|
|||||||
{!level || level === 'error' ? (
|
{!level || level === 'error' ? (
|
||||||
<Icons.ErrorSolid
|
<Icons.ErrorSolid
|
||||||
className="icon"
|
className="icon"
|
||||||
iconColor={theme.colors[level].base}
|
iconColor={theme.colors.error.base}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Icons.WarningSolid
|
<Icons.WarningSolid
|
||||||
|
Loading…
Reference in New Issue
Block a user