Description
Whenever we click on some customer( or any other view page) it redirects us to customer/{id}/view
-A slidebar will show which displays all the customers
-An api will hit to get customers according to the page number
-If there are too many customers api will keep on hitting until we get the last set of customers
Issue-
If there are 20 api's which will hit to displays all customers and upto now 10(or any number <20) are hit and we click on logout logout would not be successful we will just be redirected back to login page and if we click refresh we will be logged in back again to crater.
Expected behavior :-
We should be logged out regardless of api calls are completed or not.
Currently worked with 100 customers and clicked on second customer name api calls started clicked logout redirected to login page api calls were still happening in background clicked refresh redirected to dashboard (user is logged in ).
This is not only in case of customers its for all the views slidebar we can't logout when slidebar is not loaded completely.
Activity