diff options
Diffstat (limited to 'client/src/app/shared/shared-instance/instance-features-table.component.ts')
-rw-r--r-- | client/src/app/shared/shared-instance/instance-features-table.component.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.ts b/client/src/app/shared/shared-instance/instance-features-table.component.ts index c3df7c594..2e63f6c17 100644 --- a/client/src/app/shared/shared-instance/instance-features-table.component.ts +++ b/client/src/app/shared/shared-instance/instance-features-table.component.ts | |||
@@ -2,7 +2,6 @@ import { Component, OnInit } from '@angular/core' | |||
2 | import { ServerService } from '@app/core' | 2 | import { ServerService } from '@app/core' |
3 | import { prepareIcu } from '@app/helpers' | 3 | import { prepareIcu } from '@app/helpers' |
4 | import { ServerConfig } from '@shared/models' | 4 | import { ServerConfig } from '@shared/models' |
5 | import { PeertubeModalService } from '../shared-main/peertube-modal/peertube-modal.service' | ||
6 | 5 | ||
7 | @Component({ | 6 | @Component({ |
8 | selector: 'my-instance-features-table', | 7 | selector: 'my-instance-features-table', |
@@ -14,8 +13,7 @@ export class InstanceFeaturesTableComponent implements OnInit { | |||
14 | serverConfig: ServerConfig | 13 | serverConfig: ServerConfig |
15 | 14 | ||
16 | constructor ( | 15 | constructor ( |
17 | private serverService: ServerService, | 16 | private serverService: ServerService |
18 | private modalService: PeertubeModalService | ||
19 | ) { } | 17 | ) { } |
20 | 18 | ||
21 | get initialUserVideoQuota () { | 19 | get initialUserVideoQuota () { |
@@ -69,10 +67,6 @@ export class InstanceFeaturesTableComponent implements OnInit { | |||
69 | return this.serverService.getServerVersionAndCommit() | 67 | return this.serverService.getServerVersionAndCommit() |
70 | } | 68 | } |
71 | 69 | ||
72 | openQuickSettingsHighlight () { | ||
73 | this.modalService.openQuickSettingsSubject.next() | ||
74 | } | ||
75 | |||
76 | private getApproximateTime (seconds: number) { | 70 | private getApproximateTime (seconds: number) { |
77 | const hours = Math.floor(seconds / 3600) | 71 | const hours = Math.floor(seconds / 3600) |
78 | 72 | ||