diff --git a/apps/client/src/features/rundown/event-editor/EventEditorWrapper.tsx b/apps/client/src/features/rundown/event-editor/EventEditorWrapper.tsx
index e12d90576..9c2dbcae5 100644
--- a/apps/client/src/features/rundown/event-editor/EventEditorWrapper.tsx
+++ b/apps/client/src/features/rundown/event-editor/EventEditorWrapper.tsx
@@ -15,7 +15,7 @@ import useRundown from '../../../common/hooks-query/useRundown';
import { useEventSelection } from '../useEventSelection';
import style from './EventEditor.module.scss';
-import EventEditorTest from './EventEditor';
+import EventEditor from './EventEditor';
export type EventEditorSubmitActions = keyof OntimeEvent;
@@ -27,7 +27,6 @@ export default function EventEditorWrapper() {
const { order, rundown } = data;
const { updateEvent } = useEventAction();
const [_searchParams] = useSearchParams();
- console.log({ selectedEvents, order }, 'size: ', selectedEvents.size);
const [event, setEvent] = useState
(null);
@@ -132,9 +131,9 @@ export default function EventEditorWrapper() {
return (
{selectedEvents.size <= 1 ? (
-
+
) : (
-
+
)}
);
diff --git a/apps/client/src/features/rundown/event-editor/composite/EventEditorTitles.tsx b/apps/client/src/features/rundown/event-editor/composite/EventEditorTitles.tsx
index 0e6d64c5c..55c7994c8 100644
--- a/apps/client/src/features/rundown/event-editor/composite/EventEditorTitles.tsx
+++ b/apps/client/src/features/rundown/event-editor/composite/EventEditorTitles.tsx
@@ -17,10 +17,11 @@ interface EventEditorTitlesProps {
note: string;
colour: string;
handleSubmit: (field: EditorUpdateFields, value: string) => void;
+ isMultiple?: boolean;
}
const EventEditorTitles = (props: EventEditorTitlesProps) => {
- const { eventId, cue, title, note, colour, handleSubmit } = props;
+ const { eventId, cue, title, note, colour, handleSubmit, isMultiple } = props;
const cueSubmitHandler = (_field: string, newValue: string) => {
handleSubmit('cue', sanitiseCue(newValue));
@@ -46,7 +47,7 @@ const EventEditorTitles = (props: EventEditorTitlesProps) => {