From 2808db2683597fa0736dd1c6ec7bb41de0438245 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Wed, 8 Feb 2023 12:02:53 +0000 Subject: [PATCH] fix workflow --- CommonUI/src/Components/Modal/Modal.tsx | 18 +++-- .../src/Components/ModelTable/ModelTable.tsx | 78 +++++++++++-------- CommonUI/src/Components/Table/TableRow.tsx | 10 +-- .../Components/Workflow/WorkflowElement.tsx | 4 +- Dashboard/src/Pages/Workflow/Logs.tsx | 52 ++++++------- Dashboard/src/Pages/Workflow/Variable.tsx | 3 +- Dashboard/src/Pages/Workflow/View/Index.tsx | 4 +- Dashboard/src/Pages/Workflow/View/Logs.tsx | 53 ++++++------- .../src/Pages/Workflow/View/Variable.tsx | 3 +- Dashboard/src/Pages/Workflow/Workflows.tsx | 2 +- Dashboard/src/Utils/RouteMap.ts | 2 +- Model/Models/WorkflowVariable.ts | 10 ++- 12 files changed, 123 insertions(+), 116 deletions(-) diff --git a/CommonUI/src/Components/Modal/Modal.tsx b/CommonUI/src/Components/Modal/Modal.tsx index 07dc16dfca..cd9dda2cc7 100644 --- a/CommonUI/src/Components/Modal/Modal.tsx +++ b/CommonUI/src/Components/Modal/Modal.tsx @@ -10,7 +10,7 @@ import { VeryLightGrey } from 'Common/Types/BrandColors'; export enum ModalWidth { Normal, - Large + Large, } export interface ComponentProps { @@ -28,7 +28,7 @@ export interface ComponentProps { isBodyLoading?: boolean | undefined; icon?: IconProp | undefined; iconType?: IconType | undefined; - modalWidth?: ModalWidth | undefined + modalWidth?: ModalWidth | undefined; } const Modal: FunctionComponent = ( @@ -57,7 +57,14 @@ const Modal: FunctionComponent = (
-
+
{props.onClose && (