diff --git a/interfaces/IBF-dashboard/src/app/components/chat/chat.component.html b/interfaces/IBF-dashboard/src/app/components/chat/chat.component.html index b1afe72ef..d86dc998a 100644 --- a/interfaces/IBF-dashboard/src/app/components/chat/chat.component.html +++ b/interfaces/IBF-dashboard/src/app/components/chat/chat.component.html @@ -158,7 +158,7 @@ diff --git a/interfaces/IBF-dashboard/src/app/components/chat/chat.component.ts b/interfaces/IBF-dashboard/src/app/components/chat/chat.component.ts index 9cf5441f9..634b4bddd 100644 --- a/interfaces/IBF-dashboard/src/app/components/chat/chat.component.ts +++ b/interfaces/IBF-dashboard/src/app/components/chat/chat.component.ts @@ -26,6 +26,7 @@ import { EventState } from 'src/app/types/event-state'; import { TimelineState } from 'src/app/types/timeline-state'; import { AggregatesService } from '../../services/aggregates.service'; import { TimelineService } from '../../services/timeline.service'; +import { Actor } from '../../types/chat'; import { Indicator } from '../../types/indicator-group'; import { LeadTimeTriggerKey, LeadTimeUnit } from '../../types/lead-time'; import { TriggeredArea } from '../../types/triggered-area'; @@ -78,6 +79,8 @@ export class ChatComponent implements OnInit, OnDestroy { private lastModelRunDateFormat = 'cccc, dd LLLL HH:mm'; public isWarn = false; + public actor = Actor; + constructor( private eapActionsService: EapActionsService, public authService: AuthService, diff --git a/interfaces/IBF-dashboard/src/app/components/dialogue-turn/dialogue-turn.component.ts b/interfaces/IBF-dashboard/src/app/components/dialogue-turn/dialogue-turn.component.ts index d12a2bb73..963ace3d3 100644 --- a/interfaces/IBF-dashboard/src/app/components/dialogue-turn/dialogue-turn.component.ts +++ b/interfaces/IBF-dashboard/src/app/components/dialogue-turn/dialogue-turn.component.ts @@ -1,10 +1,6 @@ import { Component, Input, OnInit } from '@angular/core'; import { DateTime } from 'luxon'; - -enum Actor { - system = 'system', - self = 'self', -} +import { Actor } from '../../types/chat'; @Component({ selector: 'app-dialogue-turn', diff --git a/interfaces/IBF-dashboard/src/app/components/event-speech-bubble/event-speech-bubble.component.html b/interfaces/IBF-dashboard/src/app/components/event-speech-bubble/event-speech-bubble.component.html index f6dd21d57..639773630 100644 --- a/interfaces/IBF-dashboard/src/app/components/event-speech-bubble/event-speech-bubble.component.html +++ b/interfaces/IBF-dashboard/src/app/components/event-speech-bubble/event-speech-bubble.component.html @@ -1,10 +1,10 @@ @@ -190,9 +190,9 @@

- +

+