From dae37d83b993eafc51144939acc30305a1f70db4 Mon Sep 17 00:00:00 2001 From: u221711 Date: Mon, 28 Oct 2024 18:04:48 +0100 Subject: [PATCH] chore: fix web topic --- webapp/src/app/sfera-observer/sfera-observer.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/app/sfera-observer/sfera-observer.component.ts b/webapp/src/app/sfera-observer/sfera-observer.component.ts index baf9e483..b491e1d8 100644 --- a/webapp/src/app/sfera-observer/sfera-observer.component.ts +++ b/webapp/src/app/sfera-observer/sfera-observer.component.ts @@ -61,7 +61,7 @@ export class SferaObserverComponent implements OnDestroy { async observe() { const customTopicPrefix = this.environmentControl.value ? this.customPrefixControl.value : ''; - const trainOperation = this.dateControl.value + '_' + this.trainControl.value; + const trainOperation = this.trainControl.value + '_' + this.dateControl.value; this.g2bTopic = customTopicPrefix + '90940/2/G2B/' + this.companyControl.value + '/' + trainOperation + '/' + this.clientIdControl.value; this.b2gTopic = customTopicPrefix + '90940/2/B2G/' + this.companyControl.value + '/' + trainOperation + '/' + this.clientIdControl.value; this.eventTopic = customTopicPrefix + '90940/2/event/' + this.companyControl.value + '/' + trainOperation;