From cfe9240144af0d58bb1b09dc57eb53f45eb3f2ad Mon Sep 17 00:00:00 2001 From: Khanh Nguyen Date: Tue, 17 Dec 2024 14:52:20 +0700 Subject: [PATCH] Update security-monitor.component.ts --- .../app/modules/security-monitor/security-monitor.component.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/marketplace-ui/src/app/modules/security-monitor/security-monitor.component.ts b/marketplace-ui/src/app/modules/security-monitor/security-monitor.component.ts index 01c1997a..661708ca 100644 --- a/marketplace-ui/src/app/modules/security-monitor/security-monitor.component.ts +++ b/marketplace-ui/src/app/modules/security-monitor/security-monitor.component.ts @@ -114,10 +114,7 @@ export class SecurityMonitorComponent { formatCommitDate(date: string): string { const now = new Date().getTime(); const targetDate = new Date(date).getTime(); - console.log('now ' + now); - console.log('targetDate ' + targetDate); const diffInSeconds = Math.floor((now - targetDate) / 1000); - console.log(diffInSeconds); if (diffInSeconds < 60) { return 'just now';