Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix lint

Chocobozzz190987cc7216
diff --git a/client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-edit-modal.component.ts b/client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-edit-modal.component.ts
index 859c974318..5e608aea6f 100644
--- a/client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-edit-modal.component.ts
+++ b/client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-edit-modal.component.ts
@@ -341,7 +341,6 @@ export class VideoCaptionEditModalComponent extends FormReactive implements OnIn
updateCaption () {
if (this.segmentToUpdate) {
- console.log(this.segmentToUpdate)
this.notifier.error($localize`A segment is being edited. Save or cancel your edits first.`)
return
}
diff --git a/client/src/app/header/notification-dropdown.component.ts b/client/src/app/header/notification-dropdown.component.ts
index fa880ddd43..46233d1bc5 100644
--- a/client/src/app/header/notification-dropdown.component.ts
+++ b/client/src/app/header/notification-dropdown.component.ts
@@ -1,15 +1,15 @@
import { CommonModule } from '@angular/common'
-import { Component, OnDestroy, OnInit, inject, output, viewChild } from '@angular/core'
+import { Component, OnDestroy, OnInit, inject, viewChild } from '@angular/core'
import { NavigationEnd, Router, RouterLink, RouterLinkActive } from '@angular/router'
import { Notifier, PeerTubeSocket, ScreenService } from '@app/core'
import { GlobalIconComponent } from '@app/shared/shared-icons/global-icon.component'
+import { ButtonComponent } from '@app/shared/shared-main/buttons/button.component'
import { LoaderComponent } from '@app/shared/shared-main/common/loader.component'
import { UserNotificationService } from '@app/shared/shared-main/users/user-notification.service'
import { UserNotificationsComponent } from '@app/shared/standalone-notifications/user-notifications.component'
import { NgbDropdown, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'
import { Subject, Subscription } from 'rxjs'
import { filter } from 'rxjs/operators'
-import { ButtonComponent } from '@app/shared/shared-main/buttons/button.component'
@Component({
selector: 'my-notification-dropdown',
diff --git a/client/src/standalone/player/src/shared/settings/settings-menu-item.ts b/client/src/standalone/player/src/shared/settings/settings-menu-item.ts
index 5cea805bc1..cba87bcc9a 100644
--- a/client/src/standalone/player/src/shared/settings/settings-menu-item.ts
+++ b/client/src/standalone/player/src/shared/settings/settings-menu-item.ts
@@ -60,8 +60,6 @@ class SettingsMenuItem extends MenuItem {
const subMenuName = toTitleCase(options.entry)
const SubMenuComponent = videojs.getComponent(subMenuName) as typeof MenuButton
- console.log(options.entry)
-
if (!SubMenuComponent) {
throw new Error(`Component ${subMenuName} does not exist`)
}