Skip to content

MenuService setItem not updated the menu #1824

@InbarTakdim

Description

@InbarTakdim

Reproduction link

https://github.com/ng-alain/ng-alain/issues/new/choose

Steps to reproduce

this.menuService.add(res.menu);
let item = this.menuService.getItem('settings');
item.hide= true;
this.menuService.setItem('settings', item);

What is expected?

that 'setting' will be hidden

What is actually happening?

'settings' shows in the menu

Environment Info
ng-alain 9.5.5
Browser chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions