Use a ternary for channel VUs
This commit is contained in:
parent
febc96cedc
commit
ebb9e6cfd4
1 changed files with 2 additions and 3 deletions
|
@ -394,12 +394,11 @@ export function Player({ id }: { id: number }) {
|
||||||
|
|
||||||
{settings.proMode && settings.channelVUs && (
|
{settings.proMode && settings.channelVUs && (
|
||||||
<div className="channel-vu">
|
<div className="channel-vu">
|
||||||
{customOutput && (
|
{customOutput ? (
|
||||||
<span className="text-muted">
|
<span className="text-muted">
|
||||||
Custom audio output disables VU meters.
|
Custom audio output disables VU meters.
|
||||||
</span>
|
</span>
|
||||||
)}
|
) : (
|
||||||
{!customOutput && (
|
|
||||||
<VUMeter
|
<VUMeter
|
||||||
width={300}
|
width={300}
|
||||||
height={40}
|
height={40}
|
||||||
|
|
Loading…
Reference in a new issue