aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx')
-rw-r--r--Timeline/ClientApp/src/app/views/user/UserInfoCard.tsx10
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>