Add Stop button to nodes tab

This commit is contained in:
mickr777
2023-07-09 11:48:31 +10:00
committed by GitHub
parent be6f366f6b
commit 5b876bd646

View File

@ -5,6 +5,7 @@ import { memo, useCallback } from 'react';
import { Panel } from 'reactflow'; import { Panel } from 'reactflow';
import { receivedOpenAPISchema } from 'services/api/thunks/schema'; import { receivedOpenAPISchema } from 'services/api/thunks/schema';
import NodeInvokeButton from '../ui/NodeInvokeButton'; import NodeInvokeButton from '../ui/NodeInvokeButton';
import CancelButton from 'features/parameters/components/ProcessButtons/CancelButton';
const TopCenterPanel = () => { const TopCenterPanel = () => {
const dispatch = useAppDispatch(); const dispatch = useAppDispatch();
@ -17,6 +18,7 @@ const TopCenterPanel = () => {
<Panel position="top-center"> <Panel position="top-center">
<HStack> <HStack>
<NodeInvokeButton /> <NodeInvokeButton />
<CancelButton />
<IAIButton onClick={handleReloadSchema}>Reload Schema</IAIButton> <IAIButton onClick={handleReloadSchema}>Reload Schema</IAIButton>
</HStack> </HStack>
</Panel> </Panel>