From a906468063ca605d1f1c8271d7abce3f092a0bb3 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 26 Jul 2022 12:36:00 +0000 Subject: [PATCH] fix: no ssh key found --- .../[id]/configuration/sshkey.svelte | 47 +++++++++++++++---- 1 file changed, 37 insertions(+), 10 deletions(-) diff --git a/apps/ui/src/routes/destinations/[id]/configuration/sshkey.svelte b/apps/ui/src/routes/destinations/[id]/configuration/sshkey.svelte index 0db8cd0c4..6a1daae40 100644 --- a/apps/ui/src/routes/destinations/[id]/configuration/sshkey.svelte +++ b/apps/ui/src/routes/destinations/[id]/configuration/sshkey.svelte @@ -43,17 +43,44 @@
- {#each sshKeys as sshKey} -
-
handleSubmit(sshKey.id)}> - +
+
+ {/each} + {:else} +
+
No SSH key found
+
- {/each} + {/if}