Skip to content

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

Fix detection change error

Chocobozzzc1d7dc1f4885
diff --git a/client/src/app/+my-library/my-videos/my-videos.component.ts b/client/src/app/+my-library/my-videos/my-videos.component.ts
index 4574cc706c..b4d774e7b4 100644
--- a/client/src/app/+my-library/my-videos/my-videos.component.ts
+++ b/client/src/app/+my-library/my-videos/my-videos.component.ts
@@ -1,6 +1,6 @@
import { Component, inject, OnDestroy, OnInit, viewChild } from '@angular/core'
import { FormsModule } from '@angular/forms'
-import { RouterLink } from '@angular/router'
+import { ActivatedRoute, RouterLink } from '@angular/router'
import { AuthService, AuthUser, ConfirmService, Notifier, RestPagination, ServerService } from '@app/core'
import { HeaderService } from '@app/header/header.service'
import { formatICU } from '@app/helpers'
@@ -78,6 +78,7 @@ export class MyVideosComponent implements OnInit, OnDestroy {
private server = inject(ServerService)
private headerService = inject(HeaderService)
private badgeService = inject(PeerTubeBadgeService)
+ private route = inject(ActivatedRoute)
readonly table = viewChild<TableComponent<Video, DataLoaderParameter, ColumnName, QueryParams>>('table')
@@ -173,6 +174,8 @@ export class MyVideosComponent implements OnInit, OnDestroy {
}
]
+ this._customParseQueryParams(this.route.snapshot.queryParams)
+
this.buildActions()
}