From 40e16c4f2a3842d70a14402fe24cd208ef3e591b Mon Sep 17 00:00:00 2001 From: David Radley Date: Mon, 1 Nov 2021 18:43:04 +0000 Subject: [PATCH] #264 fixed formatting in dino Signed-off-by: David Radley Signed-off-by: Nigel Jones --- .../components/details-panel/ServerConfigEventBusDisplay.js | 4 ++-- .../details-panel/ServerConfigRepositoryServicesDisplay.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cra-client/src/components/Dino/components/details-panel/ServerConfigEventBusDisplay.js b/cra-client/src/components/Dino/components/details-panel/ServerConfigEventBusDisplay.js index 20cca381..acfd6aec 100644 --- a/cra-client/src/components/Dino/components/details-panel/ServerConfigEventBusDisplay.js +++ b/cra-client/src/components/Dino/components/details-panel/ServerConfigEventBusDisplay.js @@ -22,9 +22,9 @@ export default function ServerConfigEventBusDisplay(props) {
  • Topic URL Root : {cfg.topicURLRoot}
  • Producer : - {cfg.configurationProperties.producer ? formatBootstrapEndpoints(cfg.configurationProperties.producer) : blank}
  • + {cfg.configurationProperties !== undefined && cfg.configurationProperties.producer ? formatBootstrapEndpoints(cfg.configurationProperties.producer) : blank}
  • Consumer : - {cfg.configurationProperties.consumer ? formatBootstrapEndpoints(cfg.configurationProperties.consumer) : blank}
  • + {cfg.configurationProperties !== undefined && cfg.configurationProperties.consumer ? formatBootstrapEndpoints(cfg.configurationProperties.consumer) : blank}
  • Additional Properties : {cfg.additionalProperties ? formatAdditionalProperties(cfg.additionalProperties) : blank}
diff --git a/cra-client/src/components/Dino/components/details-panel/ServerConfigRepositoryServicesDisplay.js b/cra-client/src/components/Dino/components/details-panel/ServerConfigRepositoryServicesDisplay.js index 8770bd7c..18bf3ec4 100644 --- a/cra-client/src/components/Dino/components/details-panel/ServerConfigRepositoryServicesDisplay.js +++ b/cra-client/src/components/Dino/components/details-panel/ServerConfigRepositoryServicesDisplay.js @@ -141,12 +141,12 @@ export default function ServerConfigRepositoryServicesDisplay(props) { return (
- Connector Provider : {tc.connectorType.connectorProviderClassName} + Connector Provider : {tc !== undefined && tc.connectorType !== undefined ? tc.connectorType.connectorProviderClassName : blank}
Embedded Connections :
    - {formatEmbeddedConnections(tc.embeddedConnections)} + {tc !== undefined && tc.embeddedConnections !== undefined ?formatEmbeddedConnections(tc.embeddedConnections): blank}