Skip to content
Snippets Groups Projects
Commit 2c8e7f8e authored by Ramaguru Radhakrishnan's avatar Ramaguru Radhakrishnan :speech_balloon:
Browse files

Alignment Updated

parent 16e9cf99
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
<!-- breadcrumb end -->
<div class="lg:flex justify-between items-center mb-6">
<p class="text-xl mb-2 lg:mb-0">Welcome, {{did}}</p>
<p class="text-xl mb-2 lg:mb-0">Welcome, {{getInfo.didHash}}</p>
</div>
<div class="flex flex-wrap -mx-3 mb-20">
......@@ -30,12 +30,27 @@ export default {
name: 'DashboardHome',
data() {
return {
did: 0,
getInfo:{},
}
},
methods:{
getInfoFn: function () {
console.log("loading getInfo")
axios.get('http://localhost:1898/getInfo')
.then((response) => {
console.log(response);
this.getInfo = response.data.data.payload
console.log(this.getInfo)
})
.catch(function (error) {
console.log(error);
});
},
checkStatus: function () {
console.log("loading DID exists")
......@@ -72,10 +87,6 @@ export default {
this.$router.push({path: '/create-new-DID'})
return;
});
axios.get('http://localhost:1898/checkRole')
.then((response) => {
......@@ -104,7 +115,6 @@ export default {
});
},
},
beforeMount() {
this.getAccountInfo()
this.checkStatus()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment