Fix Mark Unplayed Bug

This commit is contained in:
Michael Grace 2021-05-15 21:16:35 +01:00
parent c6f3e32ad2
commit ce1c41e414

View file

@ -243,8 +243,11 @@ const Showplanner: React.FC = function() {
weight: data.index,
});
}
async function onCtxUnPlayedClick(e: any, data: { id: string }) {
dispatch(setItemPlayed(data.id, false));
async function onCtxUnPlayedClick(
e: any,
data: { id: string; column: number }
) {
dispatch(setItemPlayed(data.id, false, data.column));
}
// Add support for reloading the show plan from the iFrames.