1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00
This commit is contained in:
Chocobozzz 2023-05-24 15:27:15 +02:00
parent 25ea1d85e1
commit d0fbc9fd0a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
100 changed files with 357 additions and 390 deletions

View file

@ -2,7 +2,6 @@ import { Component, OnInit } from '@angular/core'
import { ServerService } from '@app/core'
import { prepareIcu } from '@app/helpers'
import { ServerConfig } from '@shared/models'
import { PeertubeModalService } from '../shared-main/peertube-modal/peertube-modal.service'
@Component({
selector: 'my-instance-features-table',
@ -14,8 +13,7 @@ export class InstanceFeaturesTableComponent implements OnInit {
serverConfig: ServerConfig
constructor (
private serverService: ServerService,
private modalService: PeertubeModalService
private serverService: ServerService
) { }
get initialUserVideoQuota () {
@ -69,10 +67,6 @@ export class InstanceFeaturesTableComponent implements OnInit {
return this.serverService.getServerVersionAndCommit()
}
openQuickSettingsHighlight () {
this.modalService.openQuickSettingsSubject.next()
}
private getApproximateTime (seconds: number) {
const hours = Math.floor(seconds / 3600)