From ecc83ecd52092487d9810d26b760a45ea8ecb2f2 Mon Sep 17 00:00:00 2001 From: sergeyteleshev Date: Wed, 12 Mar 2025 14:19:40 +0100 Subject: [PATCH] CB-4067 cleanup testContext info --- .../ConnectionForm/Contexts/connectionTestContext.ts | 12 ++++++------ .../Options/ConnectionFormOpitonsPart.ts | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/webapp/packages/plugin-connections/src/ConnectionForm/Contexts/connectionTestContext.ts b/webapp/packages/plugin-connections/src/ConnectionForm/Contexts/connectionTestContext.ts index b717d2b515..b731ebc31e 100644 --- a/webapp/packages/plugin-connections/src/ConnectionForm/Contexts/connectionTestContext.ts +++ b/webapp/packages/plugin-connections/src/ConnectionForm/Contexts/connectionTestContext.ts @@ -7,15 +7,15 @@ */ export interface IConnectionTestContext { - clientVersion: string | null; - serverVersion: string | null; - connectTime: string | null; + clientVersion: string | undefined; + serverVersion: string | undefined; + connectTime: string | undefined; } export function connectionTestContext(): IConnectionTestContext { return { - clientVersion: null, - serverVersion: null, - connectTime: null, + clientVersion: undefined, + serverVersion: undefined, + connectTime: undefined, }; } diff --git a/webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionFormOpitonsPart.ts b/webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionFormOpitonsPart.ts index effdc07a27..5426a0c72d 100644 --- a/webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionFormOpitonsPart.ts +++ b/webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionFormOpitonsPart.ts @@ -456,9 +456,9 @@ export class ConnectionFormOptionsPart extends FormPart