From f0bd85754949f0fe76c4b6ed6c4c810f193a23b7 Mon Sep 17 00:00:00 2001 From: Danijel Andjelkovic Date: Thu, 24 Mar 2022 06:34:39 +0100 Subject: Dodao komponentu koha ce prikazivati notifikacije korisniku. --- .../_elements/notifications/notifications.component.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 frontend/src/app/_elements/notifications/notifications.component.ts (limited to 'frontend/src/app/_elements/notifications/notifications.component.ts') diff --git a/frontend/src/app/_elements/notifications/notifications.component.ts b/frontend/src/app/_elements/notifications/notifications.component.ts new file mode 100644 index 00000000..7566828d --- /dev/null +++ b/frontend/src/app/_elements/notifications/notifications.component.ts @@ -0,0 +1,17 @@ +import { Component, OnInit } from '@angular/core'; +import { WebSocketService } from 'src/app/_services/web-socket.service'; + +@Component({ + selector: 'app-notifications', + templateUrl: './notifications.component.html', + styleUrls: ['./notifications.component.css'] +}) +export class NotificationsComponent implements OnInit { + + constructor(private wsService: WebSocketService) { } + + ngOnInit(): void { + // this.wsService.send('test'); + } + +} -- cgit v1.2.3