forked from jsnbuchanan/crowd-funder-for-time-pwa
Added updating account name
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user