From 200b01eef6b1e343dd833e36c48513ad53b40258 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 25 Feb 2021 14:44:06 +0100 Subject: [PATCH] MOBILE-3708 core: Always remove empty params in navigator --- src/addons/badges/pages/user-badges/user-badges.ts | 5 ++--- src/addons/badges/services/handlers/user.ts | 3 +-- .../assign/pages/submission-list/submission-list.page.ts | 5 ++--- src/core/directives/user-link.ts | 6 ++---- src/core/features/grades/pages/course/course.page.ts | 3 +-- src/core/features/login/services/login-helper.ts | 3 +-- src/core/guards/redirect.ts | 9 ++++----- src/core/services/navigator.ts | 2 +- 8 files changed, 14 insertions(+), 22 deletions(-) diff --git a/src/addons/badges/pages/user-badges/user-badges.ts b/src/addons/badges/pages/user-badges/user-badges.ts index 13b36bb52..79c621e77 100644 --- a/src/addons/badges/pages/user-badges/user-badges.ts +++ b/src/addons/badges/pages/user-badges/user-badges.ts @@ -22,7 +22,6 @@ import { CoreUtils } from '@services/utils/utils'; import { CorePageItemsListManager } from '@classes/page-items-list-manager'; import { ActivatedRoute, ActivatedRouteSnapshot, Params } from '@angular/router'; import { CoreSplitViewComponent } from '@components/split-view/split-view'; -import { CoreObject } from '@singletons/object'; /** * Page that displays the list of calendar events. @@ -125,10 +124,10 @@ class AddonBadgesUserBadgesManager extends CorePageItemsListManager