Skip to content

Commit

Permalink
fix: chan strip refered to channeltype when label was empty
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon authored and olzzon committed Mar 27, 2020
1 parent baa248e commit b996d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/Channel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class Channel extends React.Component<IChannelProps & IChannelInjectProps & Stor
this.handleShowChanStrip();
}}
>
{this.props.fader.label != "" ? this.props.fader.label : (window.mixerProtocol.channelTypes[this.props.channelType].channelTypeName + " " + (this.props.channelTypeIndex + 1)) }
{this.props.fader.label != "" ? this.props.fader.label : ("CH " + (this.faderIndex + 1)) }
</button>
)
}
Expand Down

0 comments on commit b996d63

Please sign in to comment.