Remove PFL right click on BAPS Presenter
This commit is contained in:
parent
9e09ffe3bb
commit
c3e5f56090
1 changed files with 11 additions and 9 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue