Merge pull request #7023 from Budibase/cheeks-fixes-2

Fix add component button in empty screens
This commit is contained in:
Martin McKeaveney 2022-08-01 16:33:03 +01:00 committed by GitHub
commit 01bd88474b
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@
$goto("./navigation") $goto("./navigation")
} }
} else if (type === "request-add-component") { } else if (type === "request-add-component") {
$goto("./components/new") $goto(`./components/${$selectedComponent?._id}/new`)
} else if (type === "highlight-setting") { } else if (type === "highlight-setting") {
store.actions.settings.highlight(data.setting) store.actions.settings.highlight(data.setting)