Fixed Visibility story
parent
02ea6f1ceb
commit
699fbc9590
|
@ -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') ||
|
||||||
|
|
Loading…
Reference in New Issue