Hotfix livestream datetime (#527)
* Temporarily adjust upcoming buffer to 15 min + 5 min cache time * Make sure datetime is shown on regular claims
This commit is contained in:
parent
accbde78e0
commit
f0fdcb6a6e
1 changed files with 2 additions and 2 deletions
|
@ -13,12 +13,12 @@ type Props = {
|
||||||
|
|
||||||
function FileSubtitle(props: Props) {
|
function FileSubtitle(props: Props) {
|
||||||
const { uri, livestream = false, isLive = false } = props;
|
const { uri, livestream = false, isLive = false } = props;
|
||||||
|
const showDateTime = !livestream || (livestream && !isLive);
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="media__subtitle--between">
|
<div className="media__subtitle--between">
|
||||||
<div className="file__viewdate">
|
<div className="file__viewdate">
|
||||||
{livestream && !isLive && <DateTime uri={uri} show={DateTime.SHOW_DATE} />}
|
{showDateTime && <DateTime uri={uri} show={DateTime.SHOW_DATE} />}
|
||||||
|
|
||||||
<FileViewCount uri={uri} livestream={livestream} isLive={isLive} />
|
<FileViewCount uri={uri} livestream={livestream} isLive={isLive} />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue