Merge pull request #8199 from Budibase/bug/sev2/delete-settings-bar

FIX: Delete component from settings bar
This commit is contained in:
melohagan 2022-10-10 13:50:43 +01:00 committed by GitHub
commit a14045e597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ const createBuilderStore = () => {
duplicateComponent: id => { duplicateComponent: id => {
dispatchEvent("duplicate-component", { id }) dispatchEvent("duplicate-component", { id })
}, },
deleteComponent: id => {
dispatchEvent("delete-component", { id })
},
notifyLoaded: () => { notifyLoaded: () => {
dispatchEvent("preview-loaded") dispatchEvent("preview-loaded")
}, },