From d3f061e73ddd0faabe155a24840c6658d3ecf120 Mon Sep 17 00:00:00 2001
From: Luca Stocchi <49404737+lstocchi@users.noreply.github.com>
Date: Tue, 30 Apr 2024 09:42:50 +0200
Subject: [PATCH] fix: fix dashboard UI (#7006)
Signed-off-by: lstocchi
---
.../lib/dashboard/ProviderInstalled.svelte | 4 +-
.../lib/dashboard/ProviderNotInstalled.svelte | 46 +++++++++++--------
2 files changed, 29 insertions(+), 21 deletions(-)
diff --git a/packages/renderer/src/lib/dashboard/ProviderInstalled.svelte b/packages/renderer/src/lib/dashboard/ProviderInstalled.svelte
index ad2f546e6df..2505a04d696 100644
--- a/packages/renderer/src/lib/dashboard/ProviderInstalled.svelte
+++ b/packages/renderer/src/lib/dashboard/ProviderInstalled.svelte
@@ -139,7 +139,7 @@ function onInstallationClick() {
To start working with containers, {provider.name} needs to be initialized.
-
+
-
diff --git a/packages/renderer/src/lib/dashboard/ProviderNotInstalled.svelte b/packages/renderer/src/lib/dashboard/ProviderNotInstalled.svelte
index 2459bfac0ee..109479b3216 100644
--- a/packages/renderer/src/lib/dashboard/ProviderNotInstalled.svelte
+++ b/packages/renderer/src/lib/dashboard/ProviderNotInstalled.svelte
@@ -15,25 +15,33 @@ let preflightChecks: CheckStatus[] = [];
-
- Could not find an installation. To start working with containers, {provider.name} needs to be detected/installed.
-
-
- {#if detectionChecks.length > 0}
-
- {#each detectionChecks as detectionCheck}
-
-
{detectionCheck.status ? '✅' : '❌'} {detectionCheck.name}
- {#if detectionCheck.details}
- Details:
{detectionCheck.details}
- {/if}
-
- {/each}
+
+
+
+ Could not find an installation. To start working with containers, {provider.name} needs to be detected/installed.
+
+
- {/if}
-
+ {#if detectionChecks.length > 0}
+
+ {#each detectionChecks as detectionCheck}
+
+
{detectionCheck.status ? '✅' : '❌'} {detectionCheck.name}
+ {#if detectionCheck.details}
+ Details:
{detectionCheck.details}
+ {/if}
+
+ {/each}
+
+ {/if}
+
+