diff options
author | crupest <crupest@outlook.com> | 2021-06-15 21:38:54 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-15 21:38:54 +0800 |
commit | c94784c9693648c2376d1aeaeae379ddc0036a32 (patch) | |
tree | 32267afa6c3a3ec1ba4526c9093b1e994e428fe8 /FrontEnd | |
parent | 0c0ef55d1a98d5559cf3ec8665130596d26b2160 (diff) | |
download | timeline-c94784c9693648c2376d1aeaeae379ddc0036a32.tar.gz timeline-c94784c9693648c2376d1aeaeae379ddc0036a32.tar.bz2 timeline-c94784c9693648c2376d1aeaeae379ddc0036a32.zip |
...
Diffstat (limited to 'FrontEnd')
-rw-r--r-- | FrontEnd/src/views/timeline-common/Timeline.tsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/FrontEnd/src/views/timeline-common/Timeline.tsx b/FrontEnd/src/views/timeline-common/Timeline.tsx index 90eba18f..c632badc 100644 --- a/FrontEnd/src/views/timeline-common/Timeline.tsx +++ b/FrontEnd/src/views/timeline-common/Timeline.tsx @@ -149,8 +149,16 @@ const Timeline: React.FC<TimelineProps> = (props) => { posts={posts} onReload={onReload.current} /> - {timeline?.postable && ( + {timeline?.postable ? ( <TimelinePostEdit timeline={timeline} onPosted={onReload.current} /> + ) : ( + <TimelineTop + lineProps={{ + startSegmentLength: 20, + center: "none", + current: true, + }} + /> )} </> ); |