Add refresh button to comments list
This commit is contained in:
parent
3c18ff47a0
commit
fbd573e59c
|
@ -25,8 +25,10 @@
|
||||||
</my-action-dropdown>
|
</my-action-dropdown>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ml-auto">
|
<div class="ml-auto right-form">
|
||||||
<my-advanced-input-filter [filters]="inputFilters" (search)="onSearch($event)"></my-advanced-input-filter>
|
<my-advanced-input-filter [filters]="inputFilters" (search)="onSearch($event)"></my-advanced-input-filter>
|
||||||
|
|
||||||
|
<my-button i18n-label label="Refresh" icon="refresh" (click)="reloadData()"></my-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
|
@ -45,6 +45,14 @@ my-global-icon {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.right-form {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
> *:not(:last-child) {
|
||||||
|
@include margin-right(10px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $primeng-breakpoint) {
|
@media screen and (max-width: $primeng-breakpoint) {
|
||||||
.video {
|
.video {
|
||||||
align-items: flex-start !important;
|
align-items: flex-start !important;
|
||||||
|
|
|
@ -117,7 +117,7 @@ export class VideoCommentListComponent extends RestTable implements OnInit {
|
||||||
return this.selectedComments.length !== 0
|
return this.selectedComments.length !== 0
|
||||||
}
|
}
|
||||||
|
|
||||||
protected reloadData () {
|
reloadData () {
|
||||||
this.videoCommentService.getAdminVideoComments({
|
this.videoCommentService.getAdminVideoComments({
|
||||||
pagination: this.pagination,
|
pagination: this.pagination,
|
||||||
sort: this.sort,
|
sort: this.sort,
|
||||||
|
|
|
@ -24,9 +24,7 @@
|
||||||
<div class="ml-auto right-form">
|
<div class="ml-auto right-form">
|
||||||
<my-advanced-input-filter [filters]="inputFilters" (search)="onSearch($event)"></my-advanced-input-filter>
|
<my-advanced-input-filter [filters]="inputFilters" (search)="onSearch($event)"></my-advanced-input-filter>
|
||||||
|
|
||||||
<div class="button-filter-block">
|
<my-button i18n-label label="Refresh" icon="refresh" (click)="reloadData()"></my-button>
|
||||||
<my-button i18n-label label="Refresh" icon="refresh" (click)="reloadData()"></my-button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -28,4 +28,3 @@ my-embed {
|
||||||
@include margin-right(10px);
|
@include margin-right(10px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue