Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
657 B

/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { HistoryEventDto } from '@app/shared/internal';
@Component({
selector: 'sqx-history-list',
styleUrls: ['./history-list.component.scss'],
templateUrl: './history-list.component.html',
changeDetection: ChangeDetectionStrategy.OnPush
})
export class HistoryListComponent {
@Input()
public events: ReadonlyArray<HistoryEventDto>;
public trackByEvent(index: number, event: HistoryEventDto) {
return event.eventId;
}
}