Use a ternary for channel VUs

This commit is contained in:
Matthew Stratford 2020-11-02 19:42:23 +00:00
parent febc96cedc
commit ebb9e6cfd4
No known key found for this signature in database
GPG key ID: 9E53C8B3F0B57395

View file

@ -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}