diff --git a/frontend/app/components/Session/Player/ReplayPlayer/PlayerBlockHeader.tsx b/frontend/app/components/Session/Player/ReplayPlayer/PlayerBlockHeader.tsx index c3784794b..3e40831df 100644 --- a/frontend/app/components/Session/Player/ReplayPlayer/PlayerBlockHeader.tsx +++ b/frontend/app/components/Session/Player/ReplayPlayer/PlayerBlockHeader.tsx @@ -114,13 +114,11 @@ function PlayerBlockHeader(props: any) { )} {_metaList.length > 0 && ( -
- -
+ )} diff --git a/frontend/app/components/shared/SessionItem/MetaItem/MetaItem.tsx b/frontend/app/components/shared/SessionItem/MetaItem/MetaItem.tsx index 4812bd122..f661d8a77 100644 --- a/frontend/app/components/shared/SessionItem/MetaItem/MetaItem.tsx +++ b/frontend/app/components/shared/SessionItem/MetaItem/MetaItem.tsx @@ -19,11 +19,13 @@ export default function MetaItem(props: Props) { diff --git a/frontend/app/components/shared/SessionItem/SessionMetaList/SessionMetaList.tsx b/frontend/app/components/shared/SessionItem/SessionMetaList/SessionMetaList.tsx index 4ceb4f3fe..68ba60e26 100644 --- a/frontend/app/components/shared/SessionItem/SessionMetaList/SessionMetaList.tsx +++ b/frontend/app/components/shared/SessionItem/SessionMetaList/SessionMetaList.tsx @@ -7,13 +7,15 @@ interface Props { className?: string; metaList: any[]; maxLength?: number; + onMetaClick?: (meta: { name: string, value: string }) => void; + horizontal?: boolean; } export default function SessionMetaList(props: Props) { - const { className = '', metaList, maxLength = 14 } = props; + const { className = '', metaList, maxLength = 14, horizontal = false } = props; return ( -
+
{metaList.slice(0, maxLength).map(({ label, value }, index) => (