Skip to content

Commit 52cfc14

Browse files
committed
Merge branch 't/fix-mismerge' of gregorydlogan/opencast-admin-interface into develop
Pull request #1371 Fix merge conflicts
2 parents 93fef28 + 557c722 commit 52cfc14

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,12 +370,12 @@ const OperationsPreview = ({
370370
{ workflowDone && <>
371371
<WorfklowOperationsTableBody
372372
operations={operationsEntry
373-
? [{ operation: operationsEntry.operation, operationId: operationsEntry.index}]
373+
? [{ operation: operationsEntry.operation, operationId: operationsEntry.index }]
374374
: []
375375
}
376376
openSubTab={openDetailsSubTab}
377377
/>
378-
<hr style={{ height: "1px", border: 0, borderTop: "1px solid #ccc", margin: "0", padding: "0"}} />
378+
<hr style={{ height: "1px", border: 0, borderTop: "1px solid #ccc", margin: "0", padding: "0" }} />
379379
</>}
380380

381381
{/* links to 'Operations' or 'Errors & Warnings' sub-Tabs */}
@@ -396,6 +396,6 @@ const OperationsPreview = ({
396396
</div>
397397
</div>
398398
);
399-
}
399+
};
400400

401401
export default EventDetailsWorkflowDetails;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const EventDetailsWorkflowErrorDetails = ({
2929

3030
const errorDetails = useAppSelector(state => getWorkflowErrorDetails(state));
3131
const isFetching = useAppSelector(state => isFetchingWorkflowErrorDetails(state));
32-
const operationsEntry = useAppSelector(state => getWorkflowByJobId(state, errorDetails.rootJobId ?? errorDetails.jobId, errorDetails.jobId))
32+
const operationsEntry = useAppSelector(state => getWorkflowByJobId(state, errorDetails.rootJobId ?? errorDetails.jobId, errorDetails.jobId));
3333
const workflowId = useAppSelector(state => getModalWorkflowId(state));
3434

3535
const openSubTab = (tabType: WorkflowTabHierarchy) => {
@@ -65,7 +65,7 @@ const EventDetailsWorkflowErrorDetails = ({
6565
{/* Error operation table */}
6666
<WorkflowOperationsTable
6767
operations={operationsEntry
68-
? [{ operation: operationsEntry.operation, operationId: operationsEntry.index}]
68+
? [{ operation: operationsEntry.operation, operationId: operationsEntry.index }]
6969
: []
7070
}
7171
openSubTab={openOperationDetailsSubTab}

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,26 +200,26 @@ const OperationStatusIcon = ({
200200
// Parse translation key to state
201201
const state = status.split(".").pop();
202202

203-
const iconStyle = { marginRight: "5px"};
203+
const iconStyle = { marginRight: "5px" };
204204

205205
switch (state) {
206206
case "INSTANTIATED":
207-
return <LuEllipsis style={{ ...iconStyle, color: "#666"}}/>;
207+
return <LuEllipsis style={{ ...iconStyle, color: "#666" }}/>;
208208
case "RUNNING":
209-
return <LuLoader className="fa-spin" style={{ ...iconStyle, color: "#666"}}/>;
209+
return <LuLoader className="fa-spin" style={{ ...iconStyle, color: "#666" }}/>;
210210
case "PAUSED":
211-
return <LuPause style={{ ...iconStyle, color: "#666"}}/>;
211+
return <LuPause style={{ ...iconStyle, color: "#666" }}/>;
212212
case "SUCCEEDED":
213-
return <LuCheck style={{ ...iconStyle, color: "#37c180"}}/>;
213+
return <LuCheck style={{ ...iconStyle, color: "#37c180" }}/>;
214214
case "FAILED":
215-
return <LuX style={{ ...iconStyle, color: "#fa1919"}}/>;
215+
return <LuX style={{ ...iconStyle, color: "#fa1919" }}/>;
216216
case "SKIPPED":
217-
return <GoDash style={{ ...iconStyle, color: "#378dd4"}}/>;
217+
return <GoDash style={{ ...iconStyle, color: "#378dd4" }}/>;
218218
case "RETRY":
219-
return <LuRotateCcw className="fa-spin" style={{ ...iconStyle, color: "#666"}}/>;
219+
return <LuRotateCcw className="fa-spin" style={{ ...iconStyle, color: "#666" }}/>;
220220
default:
221221
return <></>;
222222
}
223-
}
223+
};
224224

225225
export default EventDetailsWorkflowOperations;

src/selectors/eventDetailsSelectors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const getWorkflowsSortedByDate = createSelector(
9696
entries: [...workflows.entries].sort(
9797
(a, b) => new Date(b.submitted).getTime() - new Date(a.submitted).getTime(),
9898
),
99-
})
99+
});
100100
},
101101
);
102102
export const isFetchingWorkflows = (state: RootState) =>

0 commit comments

Comments
 (0)