Skip to content

CRUD menu destroyed based on action items only #956

@georgehristov

Description

@georgehristov

ui/src/CRUD.php

Line 141 in 66cb8a8

$this->menu->destroy();

The CRUD::$menu gets destroyed based on model actions only.
It does not consider items added to menu by other parts of code (like addFilterColumn or addQuickSearch)

Empty menu is already being destroyed within its own getHtml method so these lines are not necessary

ui/src/Menu.php

Line 195 in 66cb8a8

$this->destroy();

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