diff --git a/webapp/src/components/AutomationEditor/index.css b/webapp/src/components/AutomationEditor/index.css index 29eceb0..1b4851a 100644 --- a/webapp/src/components/AutomationEditor/index.css +++ b/webapp/src/components/AutomationEditor/index.css @@ -64,9 +64,9 @@ left: -0.5em; } -.automation-editor--flow-wrapper.changed>.automation-editor--flow-wrapper--toolbar * { +.automation-editor--flow-wrapper.changed>.automation-editor--flow-wrapper--toolbar button { border-color: var(--mui-success-light); - color: var(--mui-success-light) + color: var(--mui-success-light); } diff --git a/webapp/src/components/AutomationEditor/index.tsx b/webapp/src/components/AutomationEditor/index.tsx index 0e4ddee..7eec762 100644 --- a/webapp/src/components/AutomationEditor/index.tsx +++ b/webapp/src/components/AutomationEditor/index.tsx @@ -18,6 +18,7 @@ import { DAGDims } from "components/DAGGraph/elements/types"; import { DAGAutomationGraph } from "components/DAGGraph"; import { InputAutoComplete } from "components/Inputs/InputAutoComplete"; import { InputList } from "components/Inputs/InputList"; +import { InputTextView } from "components/Inputs/InputTextView"; interface Props { automation?: AutomationData; @@ -100,7 +101,19 @@ export const AutomationEditor: FC = ({
{state.data.metadata.id}
- {state.data.metadata.alias} + + updateMetadata( + { + ...state.data.metadata, + alias, + }, + state.data.tags + ) + } + />
= ({ }, ]} /> - {state.data.metadata.description} + + updateMetadata( + { + ...state.data.metadata, + description, + }, + state.data.tags + ) + } + />
{!dims.flipped && (