Skip to content

Commit

Permalink
Fixing condition for rendering overlay (#4515)
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana authored Jan 2, 2024
1 parent b64133f commit 2b520e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The types of changes are:
- Fixed incorrect Compass button behavior in system form [#4508](https://github.com/ethyca/fides/pull/4508)
- Omit certain fields from system payload when empty [#4508](https://github.com/ethyca/fides/pull/4525)
- Fixed issues with Compass vendor selector behavior [#4521](https://github.com/ethyca/fides/pull/4521)
- Fixed an issue where the background overlay remained visible after saving consent preferences [#4515](https://github.com/ethyca/fides/pull/4515)

### Changed
- Upgrade to use Fideslang `3.0.0` and remove associated concepts [#4502](https://github.com/ethyca/fides/pull/4502)
Expand Down
2 changes: 1 addition & 1 deletion clients/fides-js/src/components/Overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const Overlay: FunctionComponent<Props> = ({

return (
<div>
{bannerIsOpen && window.Fides.options.preventDismissal && (
{showBanner && bannerIsOpen && window.Fides.options.preventDismissal && (
<div className="fides-modal-overlay" />
)}
{showBanner
Expand Down

0 comments on commit 2b520e9

Please sign in to comment.