From b06f1ead3b599a0315053572a6cf5811e533fc49 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 8 Apr 2021 14:41:15 +0200 Subject: Fix updating transcoding profiles --- client/src/app/shared/shared-main/date/date-toggle.component.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'client/src/app/shared/shared-main') diff --git a/client/src/app/shared/shared-main/date/date-toggle.component.ts b/client/src/app/shared/shared-main/date/date-toggle.component.ts index 53f25f0ad..0c3949f11 100644 --- a/client/src/app/shared/shared-main/date/date-toggle.component.ts +++ b/client/src/app/shared/shared-main/date/date-toggle.component.ts @@ -1,5 +1,4 @@ -import { DatePipe } from '@angular/common' -import { Component, Input, OnChanges, OnInit } from '@angular/core' +import { Component, Input, OnChanges } from '@angular/core' import { FromNowPipe } from '../angular/from-now.pipe' @Component({ @@ -14,10 +13,7 @@ export class DateToggleComponent implements OnChanges { dateRelative: string dateAbsolute: string - constructor ( - private datePipe: DatePipe, - private fromNowPipe: FromNowPipe - ) { } + constructor (private fromNowPipe: FromNowPipe) { } ngOnChanges () { this.updateDates() -- cgit v1.2.3