Remove PFL right click on BAPS Presenter

This commit is contained in:
Matthew Stratford 2021-09-03 21:53:43 +01:00
parent 9e09ffe3bb
commit c3e5f56090

View file

@ -249,15 +249,17 @@ const Showplanner: React.FC<{ timeslotId: number }> = function({ timeslotId }) {
>
<FaCircle /> Mark Played
</CtxMenuItem>
<CtxMenuItem
onClick={(args) => {
dispatch(
MixerState.load(PLAYER_ID_PREVIEW, (args.props as any).item)
);
}}
>
<FaHeadphonesAlt /> Preview with PFL
</CtxMenuItem>
{!process.env.REACT_APP_BAPSICLE_INTERFACE && (
<CtxMenuItem
onClick={(args) => {
dispatch(
MixerState.load(PLAYER_ID_PREVIEW, (args.props as any).item)
);
}}
>
<FaHeadphonesAlt /> Preview with PFL
</CtxMenuItem>
)}
<CtxMenuItem
onClick={(args) => {
if ("trackid" in (args.props as any)) {