Skip to content

Commit

Permalink
fix: Button to go to the link doesnt close the announcement (#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
novakzaballa authored Sep 1, 2023
1 parent 003d782 commit b7c92df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions frontend/web/components/InfoMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ export default class InfoMessage extends PureComponent {

handleOpenNewWindow = () => {
window.open(this.props.url, '_blank')
if (this.props.isClosable) {
this.props.close()
}
}

render() {
Expand Down

3 comments on commit b7c92df

@vercel
Copy link

@vercel vercel bot commented on b7c92df Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs.flagsmith.com
docs-flagsmith.vercel.app
docs-git-main-flagsmith.vercel.app
docs.bullet-train.io

@vercel
Copy link

@vercel vercel bot commented on b7c92df Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on b7c92df Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.