Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Add doesn't work after reset #9

@jozsi

Description

@jozsi

The following, self-explanatory code results in an empty mcMessages array (no message displayed).

messageCenterService.reset();
messageCenterService.add('danger', 'This is dangerous');

A workaround for this is to use:

messageCenterService.markShown();
messageCenterService.removeShown();
messageCenterService.add('danger', 'This is dangerous');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions