chore: update Angular cache files and TypeScript build info
This commit is contained in:
@@ -82,6 +82,8 @@ export class LikeButtonComponent implements OnInit, OnDestroy, OnChanges {
|
||||
private auth = inject(AuthService);
|
||||
|
||||
@Input() provider = 'youtube';
|
||||
@Input() title?: string;
|
||||
@Input() thumbnail?: string;
|
||||
|
||||
private _videoId = '';
|
||||
|
||||
@@ -193,7 +195,10 @@ export class LikeButtonComponent implements OnInit, OnDestroy, OnChanges {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.likesService.like(this.provider, this.videoId)
|
||||
const cleanTitle = (this.title || '').trim();
|
||||
const cleanThumb = (this.thumbnail || '').trim();
|
||||
try { console.debug('[LikeButton] like payload', { provider: this.provider, videoId: this.videoId, title: cleanTitle, hasThumb: !!cleanThumb }); } catch {}
|
||||
this.likesService.like(this.provider, this.videoId, cleanTitle || undefined, cleanThumb || undefined)
|
||||
.pipe(
|
||||
finalize(() => {
|
||||
if (!this.destroyRef) {
|
||||
|
||||
Reference in New Issue
Block a user