From 6315806bea201486e5f2aaa52c24d1cfdf7db3a0 Mon Sep 17 00:00:00 2001 From: melohagan <101575380+melohagan@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:42:38 +0000 Subject: [PATCH] Update originalIndex on select (#12480) --- .../controls/ButtonActionEditor/ButtonActionDrawer.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/ButtonActionDrawer.svelte b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/ButtonActionDrawer.svelte index 109f9f62a2..236bba58dc 100644 --- a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/ButtonActionDrawer.svelte +++ b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/ButtonActionDrawer.svelte @@ -147,6 +147,7 @@ const selectAction = action => () => { selectedAction = action + originalActionIndex = actions.findIndex(item => item.id === action.id) } const onAddAction = actionType => {