Explorar el Código

fix evaluation for optDepth

Yuki Takei hace 3 años
padre
commit
a03e5b537c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/plugin-lsx/src/components/LsxPageList/LsxPage.jsx

+ 1 - 1
packages/plugin-lsx/src/components/LsxPageList/LsxPage.jsx

@@ -33,7 +33,7 @@ export class LsxPage extends React.Component {
 
     // process depth option
     const optDepth = this.props.lsxContext.getOptDepth();
-    if (optDepth === undefined) {
+    if (optDepth == null) {
       this.setState({ isLinkable: true });
     }
     else {