#59 fixed animation on logs

This commit is contained in:
Fabio Formosa
2022-09-16 23:39:49 +02:00
parent e0b0378329
commit 5be49a4090
8 changed files with 47 additions and 36 deletions

View File

@@ -10,7 +10,7 @@ import { Observable } from 'rxjs';
})
export class LogsPanelComponent implements OnInit {
MAX_LOGS : number = 20;
MAX_LOGS : number = 30;
logs : Array<any> = new Array();
@@ -37,7 +37,7 @@ export class LogsPanelComponent implements OnInit {
_showNewLog = (logRecord) => {
if(this.logs.length > this.MAX_LOGS)
this.logs.pop();
this.logs.unshift({
time : logRecord.date,
type : logRecord.type,