From d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 May 2023 15:27:15 +0200 Subject: Fix lint --- .../shared/shared-instance/instance-features-table.component.html | 2 +- .../shared/shared-instance/instance-features-table.component.ts | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'client/src/app/shared/shared-instance') diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.html b/client/src/app/shared/shared-instance/instance-features-table.component.html index 205f2bc97..37f53b7c6 100644 --- a/client/src/app/shared/shared-instance/instance-features-table.component.html +++ b/client/src/app/shared/shared-instance/instance-features-table.component.html @@ -11,7 +11,7 @@
Default NSFW/sensitive videos policy
-
can be redefined by the users
+ can be redefined by the users {{ buildNSFWLabel() }} 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' 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) -- cgit v1.2.3