Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 3f11ac1

Browse files
committed
Merge pull request #141 from appirio-tech/hf/SUP-1050
SUP-1050, Hitting back button after any my-dashboard link breaks my-d…
2 parents 9f44272 + 73a2091 commit 3f11ac1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/js/app/my-dashboard/js/controllers/my-dashboard-controller.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535

3636
// activate controller
3737
if (AuthService.isLoggedIn === true) {
38+
// SUP-1050, workaround to not cache the page
39+
angular.element('#cache-persist').val(null);
3840
activate();
3941
} else { // if user is not logged in, return (to avoid extra ajax calls)
4042
return false;

0 commit comments

Comments
 (0)