mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 23:12:13 +00:00
Merge pull request #891 from Stremio/fix/player-options-menu-crash
Some checks are pending
Build / build (push) Waiting to run
Some checks are pending
Build / build (push) Waiting to run
Player: Fix options menu crash when no stream loaded up
This commit is contained in:
commit
fdfc939abb
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ const ControlBar = ({
|
||||||
:
|
:
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
<Button className={styles['control-bar-button']} tabIndex={-1} onMouseDown={onOptionsButtonMouseDown} onClick={onToggleOptionsMenu}>
|
<Button className={classnames(styles['control-bar-button'], { 'disabled': !stream })} tabIndex={-1} onMouseDown={onOptionsButtonMouseDown} onClick={onToggleOptionsMenu}>
|
||||||
<Icon className={styles['icon']} name={'more-horizontal'} />
|
<Icon className={styles['icon']} name={'more-horizontal'} />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue