Skip to content

Commit 9c59e54

Browse files
luizhf42otavio
authored andcommitted
fix(ui): send edited public key data instead of old data
1 parent b12f476 commit 9c59e54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/src/components/PublicKeys/PublicKeyEdit.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
:messages="noTagsSelected ? 'No tags selected' : ''"
9292
placeholder="Select up to 3 tags"
9393
variant="outlined"
94-
9594
density="comfortable"
9695
multiple
9796
data-test="tags-selector"
@@ -463,7 +462,7 @@ const edit = async () => {
463462
...(keyLocal.value as LocalPublicKey),
464463
username: usernameToSend,
465464
filter: filterToSend,
466-
data: Buffer.from(keyLocal.value.data as string, "utf-8").toString("base64"),
465+
data: Buffer.from(publicKeyData.value, "utf-8").toString("base64"),
467466
};
468467
469468
try {

0 commit comments

Comments
 (0)