diff options
| author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-24 06:34:39 +0100 |
|---|---|---|
| committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-24 06:34:39 +0100 |
| commit | f0bd85754949f0fe76c4b6ed6c4c810f193a23b7 (patch) | |
| tree | d75db1d1d3bab7bb6af4942271fffea708a26130 /frontend/src/app/_elements/notifications/notifications.component.ts | |
| parent | 042482a1bbd6ea3460acf3d71bfe3ef64b05524a (diff) | |
Dodao komponentu koha ce prikazivati notifikacije korisniku.
Diffstat (limited to 'frontend/src/app/_elements/notifications/notifications.component.ts')
| -rw-r--r-- | frontend/src/app/_elements/notifications/notifications.component.ts | 17 |
1 files changed, 17 insertions, 0 deletions
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'); + } + +} |
