mirror of
https://github.com/fabioformosa/quartz-manager.git
synced 2026-05-14 22:00:30 +09:00
#59 fixed animation on logs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user