Added updating account name

This commit is contained in:
Matthew Aaron Raymer
2023-01-17 16:53:44 +08:00
parent 51600b65d7
commit 68eb04c137
2 changed files with 36 additions and 2 deletions

View File

@@ -72,7 +72,7 @@
<!-- Identity Details -->
<div class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mb-4">
<h2 class="text-xl font-semibold mb-2">Firstname Lastname</h2>
<h2 class="text-xl font-semibold mb-2">{{ firstName }} {{ lastName }}</h2>
<div class="text-slate-500 text-sm font-bold">ID</div>
<div
@@ -184,6 +184,14 @@ import { ref } from "vue";
components: {},
})
export default class AccountViewView extends Vue {
firstName =
localStorage.getItem("firstName") === null
? "--"
: localStorage.getItem("firstName");
lastName =
localStorage.getItem("lastName") === null
? "--"
: localStorage.getItem("lastName");
mnemonic = "";
address = "";
privateHex = "";