Merge pull request #113 from mayorovad/visibility-story-fix

Fixed `Visibility` story
development
Thomas Bouffard 2022-10-09 20:05:57 +02:00 committed by GitHub
commit a617bb644a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ const Template = ({ label, ...args }) => {
const isVisible = function () { const isVisible = function () {
// TODO super cannot be used here // TODO super cannot be used here
// let result = super.isVisible(); // let result = super.isVisible();
let result; let result = true;
if (result && this.value != null) { if (result && this.value != null) {
result = result =
(showOne && this.value == '1') || (showOne && this.value == '1') ||