Commit 052b5bc3311d0ea1a3b4cb9d78046588229f569c

Authored by Digvijay Singh
1 parent 61627f88d2
Exists in master and in 1 other branch admin

close dialog

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
src/components/Profile.vue
... ... @@ -355,7 +355,7 @@
355 355 </h1>
356 356 <ul class="joined-info">
357 357 <li>
358   - <a href="#">Add your work</a>
  358 + <a href="javascript:void(0);" @click="addProfileDialog">Add your work</a>
359 359 <img src="../assets/images/u-info-icon.png" /> <span></span>
360 360 </li>
361 361 <li>
... ... @@ -565,6 +565,9 @@ export default {
565 565 })
566 566 .then((response) => {
567 567 this.userData = response.data.data;
  568 + if(!this.userData.socialMediaProfiles){
  569 + this.userData.socialMediaProfiles = {};
  570 + }
568 571 this.oldId = this.userData.bgColor;
569 572 console.log(this.oldId,"this.userData.",this.userData.bgColor);
570 573  
... ...