Fix setting unplayed to specific channel / item.
This commit is contained in:
parent
c6f3e32ad2
commit
e3ee9ada02
1 changed files with 5 additions and 2 deletions
|
@ -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; index: number }
|
||||
) {
|
||||
dispatch(setItemPlayed(data.id.toString(), false, data.column));
|
||||
}
|
||||
|
||||
// Add support for reloading the show plan from the iFrames.
|
||||
|
|
Loading…
Reference in a new issue