Skip to content

Block render wont get the options object #85

@gdbarros94

Description

@gdbarros94

the script
plugins/system_manager/admin/templates/users_list.php

ThemeHandler::render_header([
    'title' => 'Usuários - CoreCRM',
    'logo' => '<a href="/admin" class="text-xl font-bold tracking-tight hover:underline">CoreCRM Usuários</a>',
    'user' => ['name' => $_SESSION['user_id'] ?? 'Usuário'],
    'actions' => [
        ['label' => 'Voltar', 'href' => '/admin', 'class' => 'bg-gray-300 hover:bg-gray-400 text-gray-700']
    ]
]);

is passing a object with options variables that doesnt reach the header class properly.

Metadata

Metadata

Labels

BackendbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions