Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Aug 3, 2020
1 parent b19504b commit 54212f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/init/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@replicatedhq/ship-init",
"version": "1.6.22",
"version": "1.6.23",
"description": "Shared component that contains the Ship Init app",
"author": "Replicated, Inc.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion web/init/src/components/config_render/ConfigGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default class ConfigGroup extends React.Component {

render() {
const { item } = this.props;
const hidden = item && item.when === "false";
const hidden = item && (item.when === "false");
if (hidden || !this.isAtLeastOneItemVisible()) return null;
return (
<div className="flex-column flex-auto">
Expand Down

0 comments on commit 54212f1

Please sign in to comment.