Skip to content

Commit

Permalink
show error only when layerActive
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Aug 19, 2024
1 parent 872d2c8 commit 12ea7fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ function ActivityLayerPanel({
{!readOnly && (
<Remove onClick={onRemoveLayerClick} loading={layerActive && !layerLoaded} />
)}
{!readOnly && layerError && (
{!readOnly && layerActive && layerError && (
<IconButton
icon={'warning'}
type={'warning'}
Expand Down

0 comments on commit 12ea7fb

Please sign in to comment.