Browse Source

implemented when there are no timelines.

白石誠 5 years ago
parent
commit
b001403ee2
1 changed files with 1 additions and 1 deletions
  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>;
     }