Yuki Takei 3 лет назад
Родитель
Сommit
a03e5b537c
1 измененных файлов с 1 добавлено и 1 удалено
  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 {