1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

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 cdbb516def
commit 980715d15e

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}`
}