From 25c0564a545e13eb791a9f2462454eadd510bfc3 Mon Sep 17 00:00:00 2001 From: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:32:18 -0400 Subject: [PATCH] Update empty pipeline server page button variant (#3303) --- .../src/concepts/pipelines/EnsureCompatiblePipelineServer.tsx | 3 ++- .../src/pages/pipelines/global/PipelineCoreApplicationPage.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/concepts/pipelines/EnsureCompatiblePipelineServer.tsx b/frontend/src/concepts/pipelines/EnsureCompatiblePipelineServer.tsx index 48df59fedf..57b5aed504 100644 --- a/frontend/src/concepts/pipelines/EnsureCompatiblePipelineServer.tsx +++ b/frontend/src/concepts/pipelines/EnsureCompatiblePipelineServer.tsx @@ -10,6 +10,7 @@ import { EmptyStateBody, Button, EmptyStateIcon, + ButtonVariant, } from '@patternfly/react-core'; import { ExclamationTriangleIcon } from '@patternfly/react-icons'; import ExternalLink from '~/components/ExternalLink'; @@ -39,7 +40,7 @@ const EnsureCompatiblePipelineServer: React.FC; + return ; } if (!pipelinesServer.compatible) { diff --git a/frontend/src/pages/pipelines/global/PipelineCoreApplicationPage.tsx b/frontend/src/pages/pipelines/global/PipelineCoreApplicationPage.tsx index 31e83c553d..f13816f4d6 100644 --- a/frontend/src/pages/pipelines/global/PipelineCoreApplicationPage.tsx +++ b/frontend/src/pages/pipelines/global/PipelineCoreApplicationPage.tsx @@ -1,4 +1,5 @@ import * as React from 'react'; +import { ButtonVariant } from '@patternfly/react-core'; import ApplicationsPage from '~/pages/ApplicationsPage'; import NoPipelineServer from '~/concepts/pipelines/NoPipelineServer'; import PipelineCoreProjectSelector from '~/pages/pipelines/global/PipelineCoreProjectSelector'; @@ -26,7 +27,7 @@ const PipelineCoreApplicationPage: React.FC = {...pageProps} loaded={!pipelinesAPi.pipelinesServer.initializing} empty={!pipelinesAPi.pipelinesServer.installed} - emptyStatePage={} + emptyStatePage={} headerContent={} provideChildrenPadding={!overrideChildPadding} >