chore: remove setRouteReuse from localization.service

pull/4021/head
mehmet-erim 5 years ago
parent df07a8a872
commit 319234067d

@ -42,12 +42,6 @@ export class LocalizationService {
this.languageChange.subscribe(({ payload }) => this.registerLocale(payload)); this.languageChange.subscribe(({ payload }) => this.registerLocale(payload));
} }
/**
*
* @deprecated To be deleted in v2.9
*/
setRouteReuse(reuse: ShouldReuseRoute) {}
registerLocale(locale: string) { registerLocale(locale: string) {
const router = this.injector.get(Router); const router = this.injector.get(Router);
const { shouldReuseRoute } = router.routeReuseStrategy; const { shouldReuseRoute } = router.routeReuseStrategy;

Loading…
Cancel
Save