diff --git a/packages/builder/src/builderStore/store/workflow.js b/packages/builder/src/builderStore/store/workflow.js
index 6ce68e2fa9..f1eb8b93f5 100644
--- a/packages/builder/src/builderStore/store/workflow.js
+++ b/packages/builder/src/builderStore/store/workflow.js
@@ -36,9 +36,10 @@ const workflowActions = store => ({
select: workflow => {
store.update(state => {
state.selectedWorkflowId = workflow._id
+ state.selectedWorkflowBlock = null
return state;
})
- }
+ }
});
export const getWorkflowStore = () => {
diff --git a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte
index 3ab8c522f0..a255e92d90 100644
--- a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte
+++ b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte
@@ -25,7 +25,7 @@
let categories = [
{ value: "design", name: "Design" },
{ value: "settings", name: "Settings" },
- { value: "actions", name: "Actions" },
+ { value: "events", name: "Events" }
]
let selectedCategory = categories[0]
@@ -93,6 +93,8 @@
{componentDefinition}
{panelDefinition}
onChange={onPropChanged} />
+ {:else if selectedCategory.value === 'events'}
+