angular-toastr
angular-toastr copied to clipboard
preventOpenDuplicates does not take into account the title
I am trying to pop up two toasts with the same text but different titles. When preventOpenDuplicates is true the second toast is not displayed.
As I am unable to override preventOpenDuplicates when creating the toast there is no work around for this issue at the moment.
I also question why I can't override preventOpenDuplicates in the create call??
The title thing is a legit request. I would need to change lot of things tho to make that work (perhaps for that 2.0.0 release that seems to be never close).
I remove preventOpenDuplicates for being used per toast basis. It is more a generic option, more than a toast option. Still, I think it makes sense to be able to disable the rule once. I will research that option too.
@Foxandxss OK, I am a bit concerned that my pull request is overly simply then as I didn't think there was that much to change...
What did I miss?