angular-toastr icon indicating copy to clipboard operation
angular-toastr copied to clipboard

preventOpenDuplicates does not take into account the title

Open peterox opened this issue 9 years ago • 2 comments

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??

peterox avatar Dec 21 '15 01:12 peterox

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 avatar Dec 23 '15 12:12 Foxandxss

@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?

KamBha avatar Oct 13 '16 16:10 KamBha