Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace mnemonic hash w mnemonic while setting profile #1711

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/playground/src/weblets/profile_manager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
<v-col cols="7" sm="12" md="12" lg="7">
<PasswordInputWrapper #="{ props }">
<VTextField
label="Your Hex Seed"
label="Your Mnemonic"
readonly
v-model="profileManager.profile.mnemonic"
v-bind="props"
Expand Down Expand Up @@ -600,7 +600,7 @@ async function activate(mnemonic: string) {
const grid = await getGrid({ mnemonic });
const profile = await loadProfile(grid!);
ssh.value = profile.ssh;
profileManager.set(profile);
profileManager.set({ ...profile, mnemonic });
} catch (e) {
loginError.value = normalizeError(e, "Something went wrong while login.");
} finally {
Expand Down
Loading