From a46a02231c991337375b719d54db1ce06ae9a12e Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Tue, 20 Dec 2022 20:32:27 +0100 Subject: [PATCH] feat: add link to open exposed app to domain --- .../src/components/AppStatus/AppStatus.module.scss | 4 ++-- packages/dashboard/src/components/Layout/Layout.tsx | 2 +- .../AppDetailsContainer/AppDetailsContainer.tsx | 11 ++++++++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/dashboard/src/components/AppStatus/AppStatus.module.scss b/packages/dashboard/src/components/AppStatus/AppStatus.module.scss index d1daafbc..7c51bcbe 100644 --- a/packages/dashboard/src/components/AppStatus/AppStatus.module.scss +++ b/packages/dashboard/src/components/AppStatus/AppStatus.module.scss @@ -1,3 +1,3 @@ .text { - margin-bottom: 1px; -} \ No newline at end of file + // margin-bottom: px; +} diff --git a/packages/dashboard/src/components/Layout/Layout.tsx b/packages/dashboard/src/components/Layout/Layout.tsx index cd693fb7..ab35eb1a 100644 --- a/packages/dashboard/src/components/Layout/Layout.tsx +++ b/packages/dashboard/src/components/Layout/Layout.tsx @@ -51,7 +51,7 @@ export const Layout: React.FC = ({ children, breadcrumbs, title, actions {title} - Tipi - +
diff --git a/packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx b/packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx index d31be898..58e0ba8f 100644 --- a/packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx +++ b/packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx @@ -164,12 +164,17 @@ export const AppDetailsContainer: React.FC = ({ app, info }) => {
-
+
Version: {info?.version}
- {info.short_desc} - {app && app?.status !== AppStatusEnum.Missing && } + {app.domain && ( + + https://{app.domain} + + )} + {info.short_desc} +
{app && app?.status !== AppStatusEnum.Missing && }