diff options
author | crupest <crupest@outlook.com> | 2020-10-02 00:12:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-02 00:12:33 +0800 |
commit | 4c699e69b388f069c5989f63f3dd180eca2f1438 (patch) | |
tree | b118b6f333185443e4d150552e21c06d0680c2c1 /Timeline/ClientApp/src/app/views/timeline/TimelineInfoCard.tsx | |
parent | d8245fa9703c532dac85980f0c25cae0a1f9e0dc (diff) | |
download | timeline-4c699e69b388f069c5989f63f3dd180eca2f1438.tar.gz timeline-4c699e69b388f069c5989f63f3dd180eca2f1438.tar.bz2 timeline-4c699e69b388f069c5989f63f3dd180eca2f1438.zip |
...
Diffstat (limited to 'Timeline/ClientApp/src/app/views/timeline/TimelineInfoCard.tsx')
-rw-r--r-- | Timeline/ClientApp/src/app/views/timeline/TimelineInfoCard.tsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Timeline/ClientApp/src/app/views/timeline/TimelineInfoCard.tsx b/Timeline/ClientApp/src/app/views/timeline/TimelineInfoCard.tsx index 6966ab41..2d787709 100644 --- a/Timeline/ClientApp/src/app/views/timeline/TimelineInfoCard.tsx +++ b/Timeline/ClientApp/src/app/views/timeline/TimelineInfoCard.tsx @@ -16,7 +16,14 @@ export type TimelineInfoCardProps = TimelineCardComponentProps< >; const TimelineInfoCard: React.FC<TimelineInfoCardProps> = (props) => { - const { timeline, onMember, onManage, syncStatus, toggleCollapse } = props; + const { + timeline, + collapse, + onMember, + onManage, + syncStatus, + toggleCollapse, + } = props; const { t } = useTranslation(); @@ -26,6 +33,7 @@ const TimelineInfoCard: React.FC<TimelineInfoCardProps> = (props) => { <InfoCardTemplate className={props.className} syncStatus={syncStatus} + collapse={collapse} toggleCollapse={toggleCollapse} > <h3 className="text-primary mx-3 d-inline-block align-middle"> |