Skip to content

Default EasyAdmin action CSS is lost  #1

@j0r1s

Description

@j0r1s

$action->setLabel('easy.menu.admin.crud.label.menu.'.$action->getName());
$actions->remove($page, $action->getAsConfigObject());
$actions->add($page, $action->getAsConfigObject());

This codes removes the default css classes of easyadmin actions (btn, btn btn-primary), this leads to unstyled button / links :
image

I'm not sure why the action is removed then readded to the collection, it seems to be not needed (anymore?) to update the actions labels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions