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
Helloa , I have created one service where i add all mostly used notifications with its configuration , but it's only work with login component where i injected this notification service(Apps first component) , when i am using same with registration component its not showing any notification , but when i agin come back to login (and suppose i enter wrong password) so both notifications are showing(login error , registration error).
NOTIFICATION SERVICE
//following service is created for use ng-snotify
where i did same process for registration component , but its not working , But i when came back to login component its showing both notifications. if u get scenerion please reply back . also suugest how to create reusable notification. thanks
The text was updated successfully, but these errors were encountered:
where i did same process for registration component , but its not working , But i when came back to login component its showing both notifications. if u get scenerion please reply back . also suugest how to create reusable notification. thanks
You can use this method to work the last call of your functions :
Thanks for quick reply , i will apply this and test . in between i have created simple Typescript class rather than service and create class object in other components it works for me .
Helloa , I have created one service where i add all mostly used notifications with its configuration , but it's only work with login component where i injected this notification service(Apps first component) , when i am using same with registration component its not showing any notification , but when i agin come back to login (and suppose i enter wrong password) so both notifications are showing(login error , registration error).
NOTIFICATION SERVICE
//following service is created for use ng-snotify
alos added in login.component.html
where i did same process for registration component , but its not working , But i when came back to login component its showing both notifications. if u get scenerion please reply back . also suugest how to create reusable notification. thanks
The text was updated successfully, but these errors were encountered: