aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/notifications/notifications.component.ts
diff options
context:
space:
mode:
authorDanijel Anđelković <adanijel99@gmail.com>2022-05-20 04:35:30 +0200
committerDanijel Anđelković <adanijel99@gmail.com>2022-05-20 04:35:30 +0200
commit0d26561af8243f76ef6a62e3d892a2f5ed7f5755 (patch)
treed209b1661fe42412dacc6f705e68724ced99ec8a /frontend/src/app/_elements/notifications/notifications.component.ts
parent0d476fb3a73921bbea0994509bc95a19cebae70c (diff)
parent5c7c335f8d3d921c3e02908e8c33901c21785907 (diff)
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar
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 {