Add missing component store to client library SDK

This commit is contained in:
Andrew Kingston 2022-05-05 08:57:36 +01:00
parent 2d8eb34d22
commit 6dc75d45b4
2 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@
if ( if (
formContext && formContext &&
$builderStore.inBuilder && $builderStore.inBuilder &&
$componentStore?.selectedComponentPath?.includes($component.id) $componentStore.selectedComponentPath?.includes($component.id)
) { ) {
formContext.formApi.setStep(step) formContext.formApi.setStep(step)
} }

View File

@ -7,6 +7,7 @@ import {
builderStore, builderStore,
uploadStore, uploadStore,
rowSelectionStore, rowSelectionStore,
componentStore,
} from "stores" } from "stores"
import { styleable } from "utils/styleable" import { styleable } from "utils/styleable"
import { linkable } from "utils/linkable" import { linkable } from "utils/linkable"
@ -24,6 +25,7 @@ export default {
screenStore, screenStore,
builderStore, builderStore,
uploadStore, uploadStore,
componentStore,
styleable, styleable,
linkable, linkable,
getAction, getAction,