diff --git a/registry/lib/components/style/custom-navbar/transparent-fill.ts b/registry/lib/components/style/custom-navbar/transparent-fill.ts index 1bb64e50a..f40ac4fc7 100644 --- a/registry/lib/components/style/custom-navbar/transparent-fill.ts +++ b/registry/lib/components/style/custom-navbar/transparent-fill.ts @@ -31,7 +31,10 @@ export const checkTransparentFill = async (vm: { } return false }, - ).then(() => { + ).then(banner => { + if (banner.length === 0) { + return + } addComponentListener('customNavbar.transparent', value => { if (!getComponentSettings('hideBanner').enabled) { vm.toggleStyle(value, 'transparent')