Skip to content

Commit 14e1e59

Browse files
authored
Merge pull request #1376 from EnsiyehE/fix/1283-input-unselect
fix/1283-input-unselect
2 parents caff614 + fcae166 commit 14e1e59

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/components/events/partials/ModalTabsAndPages/EventDetailsSchedulingTab.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ const EventDetailsSchedulingTab = ({
9292

9393
const sourceStartDate = new Date(source.start.date);
9494
const endStartDate = new Date(source.start.date);
95-
9695
useEffect(() => {
9796
dispatch(removeNotificationWizardForm());
9897
dispatch(checkConflicts({

src/slices/eventDetailsSlice.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,6 @@ export const saveSchedulingInfo = createAppAsyncThunk("eventDetails/saveScheduli
11111111
endDate: Date
11121112
}, { dispatch, getState }) => {
11131113
const { eventId, values, startDate, endDate } = params;
1114-
11151114
const state = getState();
11161115
const oldSource = getSchedulingSource(state);
11171116
const captureAgents = getRecordings(state);

src/slices/eventSlice.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ export const postNewEvent = (params: {
437437
values: {
438438
policies: TransformedAcl[],
439439
configuration: { [key: string]: unknown },
440-
deviceInputs?: string[],
440+
inputs?: string[],
441441
processingWorkflow: string,
442442
repeatOn: string[],
443443
scheduleDurationHours: string,
@@ -456,7 +456,6 @@ export const postNewEvent = (params: {
456456
extendedMetadata: MetadataCatalog[],
457457
}): AppThunk => (dispatch, getState) => {
458458
const { values, metadataInfo, extendedMetadata } = params;
459-
460459
// get asset upload options from redux store
461460
const state = getState();
462461
const uploadAssetOptions = getAssetUploadOptions(state);
@@ -544,7 +543,7 @@ export const postNewEvent = (params: {
544543
metadata: {
545544
start: startDate,
546545
device: values.location,
547-
inputs: values.deviceInputs ? values.deviceInputs.join(",") : "",
546+
inputs: values.inputs ? values.inputs.join(",") : "",
548547
end: endDate,
549548
duration: duration.toString(),
550549
},

0 commit comments

Comments
 (0)