From 399d28e67ff8f8886d5552fea96017e83a122306 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Mon, 1 Jul 2024 19:37:05 +0300 Subject: [PATCH] fix install --- client/src/components/ui/Version.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/components/ui/Version.tsx b/client/src/components/ui/Version.tsx index f01cfb02..b1a70ba2 100644 --- a/client/src/components/ui/Version.tsx +++ b/client/src/components/ui/Version.tsx @@ -16,8 +16,7 @@ const Version = () => { return null; } - const { dnsVersion, processingVersion, checkUpdateFlag } = dashboard; - const version = dnsVersion || install?.dnsVersion; + const version = dashboard?.dnsVersion || install?.dnsVersion; const onClick = () => { dispatch(getVersion(true)); @@ -35,12 +34,12 @@ const Version = () => { )} - {checkUpdateFlag && ( + {dashboard?.checkUpdateFlag && (