From 7f31b945994c6ca24550a2b7fac07d9a8db8fcb3 Mon Sep 17 00:00:00 2001 From: Daniel Leroux Date: Fri, 24 May 2024 11:34:42 +0200 Subject: [PATCH] fix(core/workflow-step): load icon names before component is initialized (#1297) --- .changeset/kind-maps-approve.md | 5 +++++ packages/core/src/components/workflow-step/workflow-step.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/kind-maps-approve.md diff --git a/.changeset/kind-maps-approve.md b/.changeset/kind-maps-approve.md new file mode 100644 index 0000000000..08427989d6 --- /dev/null +++ b/.changeset/kind-maps-approve.md @@ -0,0 +1,5 @@ +--- +'@siemens/ix': patch +--- + +fix(core/workflow-step): load icon names before component is initialized diff --git a/packages/core/src/components/workflow-step/workflow-step.tsx b/packages/core/src/components/workflow-step/workflow-step.tsx index a320725f1c..25d3d37285 100644 --- a/packages/core/src/components/workflow-step/workflow-step.tsx +++ b/packages/core/src/components/workflow-step/workflow-step.tsx @@ -121,7 +121,7 @@ export class WorkflowStep { } } - componentDidLoad() { + componentWillLoad() { this.watchPropHandler(); this.selectedHandler();