#[v5.0.0-beta5] No logo when the topbar is disabled

9 messages · Page 1 of 1 (latest)

molten pier
#

I have disabled the topbar with ->topbar(false). Do I need some other configuration for it to work or it's just a bug?

#

I was unable to reproduce the error on a fresh repository, but my problematic app has the following configuration:

class AppPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->default()
            ->id('app')
            ->path('')
            ->spa()
            ->login()
            ->topbar(false)
            ->registration(CustomRegister::class)
            ->emailVerification()
            ->passwordReset()
            ->emailChangeVerification()
            ->profile()
            ->viteTheme('resources/css/filament/app/theme.css')
            ->colors([
                'primary' => Color::Blue,
            ])
            ->tenant(Company::class, 'uuid')
            ->tenantRoutePrefix('companies')
            ->tenantProfile(EditCompanyProfile::class)
            ->discoverResources(in: app_path('Filament/Resources'), for: 'App\Filament\Resources')
            ->discoverPages(in: app_path('Filament/Pages'), for: 'App\Filament\Pages')
            ->pages([
                Dashboard::class,
            ])
            ->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\Filament\Widgets')
            ->widgets([
                AccountWidget::class,
                FilamentInfoWidget::class,
            ])
            ->middleware([
                EncryptCookies::class,
                AddQueuedCookiesToResponse::class,
                StartSession::class,
                AuthenticateSession::class,
                ShareErrorsFromSession::class,
                VerifyCsrfToken::class,
                SubstituteBindings::class,
                DisableBladeIconComponents::class,
                DispatchServingFilamentEvent::class,
            ])
            ->authMiddleware([
                Authenticate::class,
                SetupMiddleware::class,
            ]);
    }
}
#

all right guys, it was some nasty blade cache. I've added fully collapsible and removed it and now it wrks

left dagger
#

Yeah, I've seen this too. Basically, if something doesn't work as expected in Filament, always clear your cache because the majority of things that I thought were bugs turned out to be exactly that 😅

main flame
#

I've come across this problem too, but in Filament v4.3.1

I've cleared everything using artisan optimize:clear and it still doesn't show.

main flame
#

Removing class="fi-sidebar-header-ctn" from the view makes it show and I can see it when viewing the source, so I'm guessing something CSS related is going on here 🤔

#

OK, looks like in my case this is an issue with the Flatpickr plugin.

raw coral
#

It’s usually caused by a plugin

idle seal
#

I have the same issue on v4.3.1, is there any workaround, i cant remove any plugins now