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 @@ ...@@ -15,7 +15,7 @@
<!-- breadcrumb end --> <!-- breadcrumb end -->
<div class="lg:flex justify-between items-center mb-6"> <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>
<div class="flex flex-wrap -mx-3 mb-20"> <div class="flex flex-wrap -mx-3 mb-20">
...@@ -30,12 +30,27 @@ export default { ...@@ -30,12 +30,27 @@ export default {
name: 'DashboardHome', name: 'DashboardHome',
data() { data() {
return { return {
getInfo:{},
did: 0,
} }
}, },
methods:{ 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 () { checkStatus: function () {
console.log("loading DID exists") console.log("loading DID exists")
...@@ -72,10 +87,6 @@ export default { ...@@ -72,10 +87,6 @@ export default {
this.$router.push({path: '/create-new-DID'}) this.$router.push({path: '/create-new-DID'})
return; return;
}); });
axios.get('http://localhost:1898/checkRole') axios.get('http://localhost:1898/checkRole')
.then((response) => { .then((response) => {
...@@ -104,7 +115,6 @@ export default { ...@@ -104,7 +115,6 @@ export default {
}); });
}, },
}, },
beforeMount() { beforeMount() {
this.getAccountInfo() this.getAccountInfo()
this.checkStatus() this.checkStatus()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment