Spaces:
Running
Running
Update flare-ui/src/app/components/activity-log/activity-log.component.ts
Browse files
flare-ui/src/app/components/activity-log/activity-log.component.ts
CHANGED
@@ -338,4 +338,12 @@ export class ActivityLogComponent implements OnInit {
|
|
338 |
if (action.includes('PASSWORD')) return 'lock';
|
339 |
return 'info';
|
340 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
}
|
|
|
338 |
if (action.includes('PASSWORD')) return 'lock';
|
339 |
return 'info';
|
340 |
}
|
341 |
+
|
342 |
+
trackByActivityId(index: number, activity: ActivityLog): number {
|
343 |
+
return activity.id;
|
344 |
+
}
|
345 |
+
|
346 |
+
isLast(activity: ActivityLog): boolean {
|
347 |
+
return this.activities.indexOf(activity) === this.activities.length - 1;
|
348 |
+
}
|
349 |
}
|