diff --git a/ui/builder/builder.ts b/ui/builder/builder.ts index 4d2f05bef..90f541586 100644 --- a/ui/builder/builder.ts +++ b/ui/builder/builder.ts @@ -189,7 +189,7 @@ function loadCustomComponent(componentPath: string, componentName?: string, attr var fullComponentPathFilePathWithoutExt = componentPath; - if (!fs.File.exists(componentPath)) { + if (!fs.File.exists(componentPath) || componentPath === "." || componentPath === "./") { fullComponentPathFilePathWithoutExt = fs.path.join(fs.knownFolders.currentApp().path, componentPath, componentName); }