From f6270c94f39a2f1e47716fb8723ae8470c6f586d Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 19 May 2022 22:57:58 -0400 Subject: [PATCH] clean up --- webapp/src/components/AutomationEditor/index.tsx | 10 +++++----- .../src/components/ConditionEditor/ConditionNode.tsx | 1 - webapp/src/components/DAGFlow/safe.tsx | 6 +++--- webapp/src/components/Inputs/InputYaml.tsx | 2 -- .../src/components/NodeEditor/OptionManager/index.tsx | 1 - 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/webapp/src/components/AutomationEditor/index.tsx b/webapp/src/components/AutomationEditor/index.tsx index 877d4b5..244d45e 100644 --- a/webapp/src/components/AutomationEditor/index.tsx +++ b/webapp/src/components/AutomationEditor/index.tsx @@ -133,11 +133,11 @@ export const ValidationBox: FC<{ )} Please correct the automation file manually and then continue! - - - - - + + + + + } \ No newline at end of file diff --git a/webapp/src/components/ConditionEditor/ConditionNode.tsx b/webapp/src/components/ConditionEditor/ConditionNode.tsx index e7cf52e..18f0382 100644 --- a/webapp/src/components/ConditionEditor/ConditionNode.tsx +++ b/webapp/src/components/ConditionEditor/ConditionNode.tsx @@ -116,7 +116,6 @@ export const ConditionNode: FC<{ label="" value={condition} onChange={update => onUpdate(update as any)} - resizable />} {!yamlMode && childrenConditions} {!yamlMode && hasChildren &&
diff --git a/webapp/src/components/DAGFlow/safe.tsx b/webapp/src/components/DAGFlow/safe.tsx index 5514a78..4627040 100644 --- a/webapp/src/components/DAGFlow/safe.tsx +++ b/webapp/src/components/DAGFlow/safe.tsx @@ -70,11 +70,11 @@ export class SafeDAGAutomationFlow extends Component{s}
)}

Automation YAML

- + - + - +
} diff --git a/webapp/src/components/Inputs/InputYaml.tsx b/webapp/src/components/Inputs/InputYaml.tsx index 05f7e04..25ae2f4 100644 --- a/webapp/src/components/Inputs/InputYaml.tsx +++ b/webapp/src/components/Inputs/InputYaml.tsx @@ -10,13 +10,11 @@ export interface Props { label: string; value: T; onChange: (v: T) => void; - resizable?: boolean; } export default function InputYaml({ label, value = {} as any, onChange, - resizable, }: Props) { const [{ text, error }, setState] = useState<{ text: string, diff --git a/webapp/src/components/NodeEditor/OptionManager/index.tsx b/webapp/src/components/NodeEditor/OptionManager/index.tsx index be685ff..1453bc9 100644 --- a/webapp/src/components/NodeEditor/OptionManager/index.tsx +++ b/webapp/src/components/NodeEditor/OptionManager/index.tsx @@ -70,7 +70,6 @@ export const useEditorNodeState = (originalNode: AutomationNode, isErrored: bool label='' value={currentNode} onChange={setStateForManualYaml} - resizable />
{invalidManualYaml}