Procházet zdrojové kódy

implemented when there are no timelines.

白石誠 před 5 roky
rodič
revize
b001403ee2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/client/js/components/PageTimeline.jsx

+ 1 - 1
src/client/js/components/PageTimeline.jsx

@@ -62,7 +62,7 @@ class PageTimeline extends React.Component {
 
   render() {
     const { pages } = this.state;
-    if (pages == null) {
+    if (pages == null || pages.length == 0) {
       return <React.Fragment></React.Fragment>;
     }