Skip to content

Commit 3ad46af

Browse files
Add ssh key on empty state (#2032)
1 parent cd1bff5 commit 3ad46af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/components/form/fields/SshKeysField.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ export function SshKeysField({ control }: { control: Control<InstanceCreateInput
118118
<EmptyMessage
119119
icon={<Key16Icon />}
120120
title="No SSH keys"
121-
body="You need to add a SSH key to be able to see it here"
121+
body="You need to add a key to be able to see it here"
122+
buttonText="Add SSH Key"
123+
onClick={() => setShowAddSshKey(true)}
122124
/>
123125
</div>
124126
)}

0 commit comments

Comments
 (0)