mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Use the actual summary text
This commit is contained in:
parent
5ec4fd62ad
commit
9212db100b
@ -18,7 +18,8 @@ interface Props {
|
|||||||
isMobile: boolean;
|
isMobile: boolean;
|
||||||
}
|
}
|
||||||
export default function StreamInfo({ isMobile }: Props) {
|
export default function StreamInfo({ isMobile }: Props) {
|
||||||
const { socialHandles, name, title, tags } = useRecoilValue<ClientConfig>(clientConfigStateAtom);
|
const { socialHandles, name, title, tags, summary } =
|
||||||
|
useRecoilValue<ClientConfig>(clientConfigStateAtom);
|
||||||
const { viewerCount } = useRecoilValue<ServerStatus>(serverStatusState);
|
const { viewerCount } = useRecoilValue<ServerStatus>(serverStatusState);
|
||||||
const online = useRecoilValue<boolean>(isOnlineSelector);
|
const online = useRecoilValue<boolean>(isOnlineSelector);
|
||||||
|
|
||||||
@ -54,7 +55,7 @@ export default function StreamInfo({ isMobile }: Props) {
|
|||||||
<div className={s.titleSection}>
|
<div className={s.titleSection}>
|
||||||
<div className={s.title}>{name}</div>
|
<div className={s.title}>{name}</div>
|
||||||
<div className={s.subtitle}>
|
<div className={s.subtitle}>
|
||||||
{title || 'Stream title or server description goes here'}
|
{title || summary}
|
||||||
<CategoryIcon tags={tags} />
|
<CategoryIcon tags={tags} />
|
||||||
</div>
|
</div>
|
||||||
<div className={s.tagList}>
|
<div className={s.tagList}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user