From 79e7d1818589a3c8cf5e8c8c980416e81f2788f1 Mon Sep 17 00:00:00 2001 From: Dominik Riemer Date: Wed, 1 Nov 2023 08:56:54 +0100 Subject: [PATCH] fix(#2112): Properly update broker configs (#2114) --- .../broker-config.component.html | 14 +++++++++++-- .../broker-config/broker-config.component.ts | 8 ++++++- .../messaging-configuration.component.html | 21 ++++++++++--------- 3 files changed, 30 insertions(+), 13 deletions(-) diff --git a/ui/src/app/configuration/messaging-configuration/broker-config/broker-config.component.html b/ui/src/app/configuration/messaging-configuration/broker-config/broker-config.component.html index d97c4bd56b..465d3d1250 100644 --- a/ui/src/app/configuration/messaging-configuration/broker-config/broker-config.component.html +++ b/ui/src/app/configuration/messaging-configuration/broker-config/broker-config.component.html @@ -22,13 +22,23 @@
Host - +
Port - +
diff --git a/ui/src/app/configuration/messaging-configuration/broker-config/broker-config.component.ts b/ui/src/app/configuration/messaging-configuration/broker-config/broker-config.component.ts index 9a00398bb4..9ce233c133 100644 --- a/ui/src/app/configuration/messaging-configuration/broker-config/broker-config.component.ts +++ b/ui/src/app/configuration/messaging-configuration/broker-config/broker-config.component.ts @@ -16,7 +16,7 @@ * */ -import { Component, Input } from '@angular/core'; +import { Component, EventEmitter, Input, Output } from '@angular/core'; @Component({ selector: 'sp-messaging-broker-config', @@ -31,4 +31,10 @@ export class SpMessagingBrokerConfigComponent { @Input() port: number; + + @Output() + hostChange = new EventEmitter(); + + @Output() + portChange = new EventEmitter(); } diff --git a/ui/src/app/configuration/messaging-configuration/messaging-configuration.component.html b/ui/src/app/configuration/messaging-configuration/messaging-configuration.component.html index 8f96bc8864..f31c5fba3f 100644 --- a/ui/src/app/configuration/messaging-configuration/messaging-configuration.component.html +++ b/ui/src/app/configuration/messaging-configuration/messaging-configuration.component.html @@ -171,26 +171,27 @@
Pulsar
@@ -205,8 +206,8 @@