Skip to content

Commit

Permalink
Merge pull request #158 from Element84/pv/fix-publish-button
Browse files Browse the repository at this point in the history
fix display of publish button
  • Loading branch information
Phil Varner authored May 18, 2023
2 parents 069e249 + 768c26b commit 288965e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased

### Fixed

- Publish button was not displaying with boolean true value set.

## 2.0.1 - 2023-05-17

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const BottomContent = () => {
Analyze
</button>
)}
{SHOW_PUBLISH_BTN === 'true' && (
{SHOW_PUBLISH_BTN === true && (
<button className="actionButton" onClick={() => onPublishClick()}>
Publish
</button>
Expand Down

0 comments on commit 288965e

Please sign in to comment.