Skip to content

Commit

Permalink
fix: input-slot is set to 0 if is-checked is true
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Nov 6, 2024
1 parent b27d2ac commit 4432d1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hooks/useMultiviewDefaultPresets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export function useMultiviewDefaultPresets({
return {
...view,
label: sourceSlot >= 0 ? source.label : view.label,
id: sourceSlot >= 0 ? source._id : view.id
id: sourceSlot >= 0 ? source._id : view.id,
input_slot:
sourceSlot >= 0 ? source.input_slot : view.input_slot
};
})
}
Expand Down

0 comments on commit 4432d1f

Please sign in to comment.