aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-08 14:41:15 +0200
committerChocobozzz <me@florianbigard.com>2021-04-08 14:41:15 +0200
commitb06f1ead3b599a0315053572a6cf5811e533fc49 (patch)
tree60ee83ad75a0b332b53c99cf73087c9a2c9fa513 /client/src/app/shared
parent4c7449d2add412e2cef4d55b357d58abaa0ae83b (diff)
downloadPeerTube-b06f1ead3b599a0315053572a6cf5811e533fc49.tar.gz
PeerTube-b06f1ead3b599a0315053572a6cf5811e533fc49.tar.zst
PeerTube-b06f1ead3b599a0315053572a6cf5811e533fc49.zip
Fix updating transcoding profiles
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/shared-main/date/date-toggle.component.ts8
1 files changed, 2 insertions, 6 deletions
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 @@
1import { DatePipe } from '@angular/common' 1import { Component, Input, OnChanges } from '@angular/core'
2import { Component, Input, OnChanges, OnInit } from '@angular/core'
3import { FromNowPipe } from '../angular/from-now.pipe' 2import { FromNowPipe } from '../angular/from-now.pipe'
4 3
5@Component({ 4@Component({
@@ -14,10 +13,7 @@ export class DateToggleComponent implements OnChanges {
14 dateRelative: string 13 dateRelative: string
15 dateAbsolute: string 14 dateAbsolute: string
16 15
17 constructor ( 16 constructor (private fromNowPipe: FromNowPipe) { }
18 private datePipe: DatePipe,
19 private fromNowPipe: FromNowPipe
20 ) { }
21 17
22 ngOnChanges () { 18 ngOnChanges () {
23 this.updateDates() 19 this.updateDates()