When you need to apply a small tweak to the document, it must not take long to Spread out dropdown notification. Such a basic action does not have to demand extra education or running through guides to learn it. With the proper document modifying resource, you will not take more time than is necessary for such a quick change. Use DocHub to streamline your modifying process regardless if you are an experienced user or if it is the first time making use of a web-based editor service. This instrument will require minutes or so to learn to Spread out dropdown notification. The only thing needed to get more effective with editing is actually a DocHub profile.
A simple document editor like DocHub will help you optimize the amount of time you need to dedicate to document modifying no matter your prior knowledge about this kind of instruments. Make an account now and increase your efficiency instantly with DocHub!
let us now get the notifications we need to first of all get the user data now we have the Toki service let us import the users service so privates users service of type users service now what Im going to do is Ill create an array Ill call the every user data certificate on empty array now create this method which is gets user in this gets user these dots users service dots lets the user by ID and we pass these dots user dot underscore ID then well subscribe so here what I want to do is this dot user data equal to theta dot result dot notifications notifications then go to reverse its right here so we want to display the recent notifications first right now the user doesnt have any notification so Ill go ahead and add some notifications but first let me save this so right now you can see this user has three notifications and none of the notification is marked as read so we want to display this also right here in this drop-down so what Im going to do is since I already saved th