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,6 +249,7 @@ const Showplanner: React.FC<{ timeslotId: number }> = function({ timeslotId }) {
> >
<FaCircle /> Mark Played <FaCircle /> Mark Played
</CtxMenuItem> </CtxMenuItem>
{!process.env.REACT_APP_BAPSICLE_INTERFACE && (
<CtxMenuItem <CtxMenuItem
onClick={(args) => { onClick={(args) => {
dispatch( dispatch(
@ -258,6 +259,7 @@ const Showplanner: React.FC<{ timeslotId: number }> = function({ timeslotId }) {
> >
<FaHeadphonesAlt /> Preview with PFL <FaHeadphonesAlt /> Preview with PFL
</CtxMenuItem> </CtxMenuItem>
)}
<CtxMenuItem <CtxMenuItem
onClick={(args) => { onClick={(args) => {
if ("trackid" in (args.props as any)) { if ("trackid" in (args.props as any)) {