Fix custom components not working properly with generated bindings

This commit is contained in:
Andrew Kingston 2022-09-30 10:13:06 +01:00
parent ce95d66206
commit 0840bcb7d7
1 changed files with 4 additions and 1 deletions

View File

@ -143,7 +143,10 @@ export const getComponentSettings = componentType => {
}
// Ensure whole component name is used
if (!componentType.startsWith("@budibase")) {
if (
!componentType.startsWith("plugin/") &&
!componentType.startsWith("@budibase")
) {
componentType = `@budibase/standard-components/${componentType}`
}