diff --git a/webapp/src/components/NodeEditor/OptionManager/ActionChoose.tsx b/webapp/src/components/NodeEditor/OptionManager/ActionChoose.tsx index e55d511..72c3b35 100644 --- a/webapp/src/components/NodeEditor/OptionManager/ActionChoose.tsx +++ b/webapp/src/components/NodeEditor/OptionManager/ActionChoose.tsx @@ -1,6 +1,5 @@ import { ChooseAction } from "types/automations/actions"; -import { OptionManager } from './OptionManager'; - +import { OptionManager } from "./OptionManager"; export const ActionChooseState: OptionManager = { defaultState: () => ({ @@ -8,11 +7,8 @@ export const ActionChooseState: OptionManager = { default: [], choose: [], }), - isReady: ({ alias }) => { - return alias !== '' + isReady: () => true, + Component: () => { + return <>; }, - renderOptionList: () => { - return <> - - } -} +}; diff --git a/webapp/src/components/NodeEditor/index.tsx b/webapp/src/components/NodeEditor/index.tsx index 4095e46..89c6206 100644 --- a/webapp/src/components/NodeEditor/index.tsx +++ b/webapp/src/components/NodeEditor/index.tsx @@ -51,6 +51,8 @@ export const NodeEditor: FC = ({ if (notes.length > 0) { try { await confirm({ + confirmationText: "Yes", + title: `Are you sure you want to ${what}?`, description: (
    {notes.map((n, i) => (