aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/notifications/notifications.component.ts
diff options
context:
space:
mode:
authorIvan Ljubisavljevic <ivan996sk@gmail.com>2022-05-20 04:16:37 +0200
committerIvan Ljubisavljevic <ivan996sk@gmail.com>2022-05-20 04:16:37 +0200
commit0fc91dbd9e9a7d942d2a2efba3ce97c2f5ef450f (patch)
tree9a0c9975b045b4655b0803d4017f696c2ccfa96d /frontend/src/app/_elements/notifications/notifications.component.ts
parent9930bdb624f9511e9f4ead7abd435d25fbdcac4a (diff)
Console logs removed
Diffstat (limited to 'frontend/src/app/_elements/notifications/notifications.component.ts')
-rw-r--r--frontend/src/app/_elements/notifications/notifications.component.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/frontend/src/app/_elements/notifications/notifications.component.ts b/frontend/src/app/_elements/notifications/notifications.component.ts
index 5716c1e6..81769fde 100644
--- a/frontend/src/app/_elements/notifications/notifications.component.ts
+++ b/frontend/src/app/_elements/notifications/notifications.component.ts
@@ -24,8 +24,6 @@ export class NotificationsComponent implements OnInit {
this.signalRService.hubConnection.on("NotifyEpoch", (mName: string, mId: string, stat: string, totalEpochs: number, currentEpoch: number) => {
const existingNotification = this.notifications.find(x => x.id === mId)
const progress = ((currentEpoch + 1) / totalEpochs);
- //console.log("Ukupno epoha", totalEpochs, "Trenutna epoha:", currentEpoch);
- //console.log("stat:", stat);
if (!existingNotification)
this.notifications.push(new Notification(`Treniranje modela: ${mName}`, mId, progress, true));
else {