mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 11:39:08 +03:00
Use the actual summary text
This commit is contained in:
parent
5ec4fd62ad
commit
9212db100b
1 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue