Approve/reject button on notification

Nachiket Sunil1
Tera Contributor

Hi all,

Once user clicked on approve button the update the username in backend table.

and once clicked on reject button username remain same.

 

 

Thanks

3 REPLIES 3

To implement this, set up two buttons (Approve/Reject) in the notification. On the Approve button click, send a request to the backend API to update the username in the table. On the Reject button, do nothing or send a request to keep the username unchanged. I was struggling to write an argumentative essay and decided to buy one from

Nikhil Bajaj9
Tera Sage

Hi Nachiket,

 

Please write your business Logic [Server side code] on Approve/Reject UI actions.

 

Regards,

Nikhil Bajaj