notification
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<button type="button" label="Mark all as read" pButton class="ui-button-width-fit" (click)="onMarkAllAsRead()"></button>
|
||||
</div>
|
||||
|
||||
<p-table [value]="notifications" selectionMode="single" (onRowSelect)="onRowSelect($event)" >
|
||||
<p-table [value]="notificationPage.content" selectionMode="single" (onRowSelect)="onRowSelect($event)" >
|
||||
<ng-template pTemplate="header">
|
||||
<tr>
|
||||
<th style="width:9em">Date</th>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { Notification } from '@overflow/commons-typescript/model/notification';
|
||||
import { Page } from '@overflow/commons-typescript/model/commons/Page';
|
||||
|
||||
@Component({
|
||||
selector: 'of-notification-list',
|
||||
@@ -7,7 +8,7 @@ import { Notification } from '@overflow/commons-typescript/model/notification';
|
||||
})
|
||||
export class NotificationListComponent {
|
||||
|
||||
@Input() notifications: Notification[];
|
||||
@Input() notificationPage: Page<Notification>;
|
||||
|
||||
constructor(
|
||||
) { }
|
||||
|
||||
Reference in New Issue
Block a user