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 | 7cefd5566a48a45ef9ecb67b881c7c8312abb08f (patch) | |
tree | 60539040cb8211d5fb1e1dd7d3ad85cf4b6bcbb9 /Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx | |
parent | 6f0bbfd56758af305c9dcbb9e4b2b09b8e207ece (diff) | |
download | timeline-7cefd5566a48a45ef9ecb67b881c7c8312abb08f.tar.gz timeline-7cefd5566a48a45ef9ecb67b881c7c8312abb08f.tar.bz2 timeline-7cefd5566a48a45ef9ecb67b881c7c8312abb08f.zip |
...
Diffstat (limited to 'Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx')
-rw-r--r-- | Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx b/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx index bad2a9e1..888fb18a 100644 --- a/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx +++ b/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx @@ -16,7 +16,14 @@ export type UserInfoCardProps = TimelineCardComponentProps< >; const UserInfoCard: React.FC<UserInfoCardProps> = (props) => { - const { timeline, onMember, onManage, syncStatus, toggleCollapse } = props; + const { + timeline, + collapse, + onMember, + onManage, + syncStatus, + toggleCollapse, + } = props; const { t } = useTranslation(); const avatar = useAvatar(timeline?.owner?.username); @@ -25,6 +32,7 @@ const UserInfoCard: React.FC<UserInfoCardProps> = (props) => { <InfoCardTemplate className={props.className} syncStatus={syncStatus} + collapse={collapse} toggleCollapse={toggleCollapse} > <div> |