diff --git a/src/clr-addons/history/history-pinned.html b/src/clr-addons/history/history-pinned.html index 3a8ec4ed8..273720b1d 100644 --- a/src/clr-addons/history/history-pinned.html +++ b/src/clr-addons/history/history-pinned.html @@ -2,7 +2,7 @@
  1. - {{historyItem.title}} + {{historyItem.title}}
diff --git a/src/clr-addons/history/history-pinned.ts b/src/clr-addons/history/history-pinned.ts index 8f0f9227a..283ae5ab8 100644 --- a/src/clr-addons/history/history-pinned.ts +++ b/src/clr-addons/history/history-pinned.ts @@ -4,7 +4,7 @@ * The full license information can be found in LICENSE in the root directory of this project. */ -import { Component, Input, OnInit, OnDestroy } from '@angular/core'; +import { Component, Input, OnDestroy, OnInit } from '@angular/core'; import { ClrHistoryModel } from './history-model.interface'; import { ClrHistoryService } from './history.service'; import { Subscription } from 'rxjs'; @@ -46,8 +46,4 @@ export class ClrHistoryPinned implements OnInit, OnDestroy { ngOnDestroy(): void { this.settingsSubscription.unsubscribe(); } - - select(history: ClrHistoryModel): void { - window.location.href = history.url; - } } diff --git a/src/clr-addons/history/history.html b/src/clr-addons/history/history.html index b85d18a02..5be099a11 100644 --- a/src/clr-addons/history/history.html +++ b/src/clr-addons/history/history.html @@ -3,7 +3,7 @@ - +