diff --git a/src/app/machines/components/ErrorDetails/ErrorDetails.tsx b/src/app/machines/components/ErrorDetails/ErrorDetails.tsx index 3425ff5d28..8428db1755 100644 --- a/src/app/machines/components/ErrorDetails/ErrorDetails.tsx +++ b/src/app/machines/components/ErrorDetails/ErrorDetails.tsx @@ -12,7 +12,7 @@ const ErrorDetailsItem = ({ systemIds: ActionState["failedSystemIds"]; }) => { return ( -
+
{errorMessage}
{systemIds?.map((systemId) => (
diff --git a/src/app/machines/components/MachineForms/MachineActionFormWrapper/MachineActionFormWrapper.stories.tsx b/src/app/machines/components/MachineForms/MachineActionFormWrapper/MachineActionFormWrapper.stories.tsx index 85072932f9..99130d2a59 100644 --- a/src/app/machines/components/MachineForms/MachineActionFormWrapper/MachineActionFormWrapper.stories.tsx +++ b/src/app/machines/components/MachineForms/MachineActionFormWrapper/MachineActionFormWrapper.stories.tsx @@ -3,6 +3,7 @@ import type { Meta } from "@storybook/react"; import { MachineActionForm } from "./MachineActionFormWrapper"; import { ACTION_STATUS } from "app/base/constants"; +import ErrorDetails from "app/machines/components/ErrorDetails"; import { NodeActions } from "app/store/types/node"; const meta: Meta = { @@ -56,11 +57,15 @@ export const MultipleMachinesError = { selectedMachines: { items: ["abc123", "def456"] }, action: NodeActions.ABORT, actionStatus: ACTION_STATUS.error, - actionErrors: [ - "There was an error", - "There was another error", - "There was a third error", - ], + actionErrors: ( + + ), filter: {}, }, };