Open fsmaia opened 5 years ago
It would be nice to have an .remove(level) or .removeByLevel(level) that removes all notifications from a specific level (warning, success, info).
.remove(level)
.removeByLevel(level)
warning
success
info
I think it would be very simple to implement 'cause is the same logic from .hide(uid), using a different filter condition in the reducer.
.hide(uid)
If this is a desired feature, I can implement it and open a PR.
It would be nice to have an
.remove(level)
or.removeByLevel(level)
that removes all notifications from a specific level (warning
,success
,info
).I think it would be very simple to implement 'cause is the same logic from
.hide(uid)
, using a different filter condition in the reducer.If this is a desired feature, I can implement it and open a PR.