X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-custom-markup%2Fpeertube-custom-tags%2Fvideos-list-markup.component.ts;fp=client%2Fsrc%2Fapp%2Fshared%2Fshared-custom-markup%2Fpeertube-custom-tags%2Fvideos-list-markup.component.ts;h=70e88ea51ce2ae690d4c8ac26b1a8dcefe30bac7;hb=bc48e33b80f357767b98c1d310b04bdda24c6d46;hp=7d3498d4cb7a33bbddddc988ff21d3b57e32aa10;hpb=6a056bbe4df1c29039d46df2b7937163033a5585;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts b/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts index 7d3498d4c..70e88ea51 100644 --- a/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts +++ b/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts @@ -1,5 +1,5 @@ import { finalize } from 'rxjs/operators' -import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core' +import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core' import { AuthService, Notifier } from '@app/core' import { VideoSortField } from '@shared/models' import { Video, VideoService } from '../../shared-main' @@ -13,7 +13,8 @@ import { CustomMarkupComponent } from './shared' @Component({ selector: 'my-videos-list-markup', templateUrl: 'videos-list-markup.component.html', - styleUrls: [ 'videos-list-markup.component.scss' ] + styleUrls: [ 'videos-list-markup.component.scss' ], + changeDetection: ChangeDetectionStrategy.OnPush }) export class VideosListMarkupComponent implements CustomMarkupComponent, OnInit { @Input() sort: string