dont show streaming server warning while the streaming server is still loading

This commit is contained in:
nklhrstv 2021-11-03 10:02:55 +02:00
parent 30839ebc83
commit 63667fb1ac

View file

@ -68,7 +68,7 @@ const Board = () => {
</div>
</MainNavBars>
{
(streamingServer.settings === null || streamingServer.settings.type !== 'Ready') &&
streamingServer.settings !== null && streamingServer.settings.type === 'Err' &&
(isNaN(profile.settings.streamingServerWarningDismissed.getTime()) || profile.settings.streamingServerWarningDismissed.getTime() < Date.now()) ?
<StreamingServerWarning className={styles['board-warning-container']} />
: