diff options
author | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-04-13 00:58:06 +0200 |
---|---|---|
committer | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-04-13 00:58:06 +0200 |
commit | fbcbcfe276b12d912ab9857570860410bee943c1 (patch) | |
tree | 1c2cd4bfac14a4be54a11e0691062cf993fa9de3 /frontend/src/app/_elements/notifications | |
parent | 8e70fdea8955b0b9f87ecede4571af2ec9454511 (diff) |
Implementiran SignalR na backendu i frontend.Mogu da komuniciraju.
Diffstat (limited to 'frontend/src/app/_elements/notifications')
-rw-r--r-- | frontend/src/app/_elements/notifications/notifications.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/app/_elements/notifications/notifications.component.ts b/frontend/src/app/_elements/notifications/notifications.component.ts index 82613448..5863f669 100644 --- a/frontend/src/app/_elements/notifications/notifications.component.ts +++ b/frontend/src/app/_elements/notifications/notifications.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { WebSocketService } from 'src/app/_services/web-socket.service'; +import { SignalRService } from 'src/app/_services/signal-r.service'; import Notification from 'src/app/_data/Notification'; @Component({ @@ -12,7 +12,7 @@ export class NotificationsComponent implements OnInit { notifications?: Notification[]; closed: boolean = false; - constructor(private wsService: WebSocketService) { + constructor(private signalRService:SignalRService) { this.notifications = [ new Notification("Titanik (Preziveli)", "79768456867", 0.2), new Notification("Test Prediktor 1", "56758768678", 0.4), |