Add refresh button to comments list
This commit is contained in:
parent
3c18ff47a0
commit
fbd573e59c
|
@ -25,8 +25,10 @@
|
|||
</my-action-dropdown>
|
||||
</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-button i18n-label label="Refresh" icon="refresh" (click)="reloadData()"></my-button>
|
||||
</div>
|
||||
</div>
|
||||
</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) {
|
||||
.video {
|
||||
align-items: flex-start !important;
|
||||
|
|
|
@ -117,7 +117,7 @@ export class VideoCommentListComponent extends RestTable implements OnInit {
|
|||
return this.selectedComments.length !== 0
|
||||
}
|
||||
|
||||
protected reloadData () {
|
||||
reloadData () {
|
||||
this.videoCommentService.getAdminVideoComments({
|
||||
pagination: this.pagination,
|
||||
sort: this.sort,
|
||||
|
|
|
@ -24,10 +24,8 @@
|
|||
<div class="ml-auto right-form">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</ng-template>
|
||||
|
|
|
@ -28,4 +28,3 @@ my-embed {
|
|||
@include margin-right(10px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue