You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to specify what key I want my flash messages to be de-duped on - sometimes I'll have flashes with the same message, but they'll have a different characteristic that means they should still be shown.
I would like to be able to specify what key I want my flash messages to be de-duped on - sometimes I'll have flashes with the same
message
, but they'll have a different characteristic that means they should still be shown.eg
I think this could work well - providing a
dedupe
propertydedupe
could default to${message}
, Then this could be changed todedupe
https://github.com/poteto/ember-cli-flash/blob/49aec796a5123481f9b546cd53409455f38c0c41/addon/flash/object.js#L12-L13
Would this be a welcome/useful addition? should I write a PR for it?
The text was updated successfully, but these errors were encountered: