Skip to content

Commit

Permalink
Fix issue #40 Display loading in User Profile as well as Suites
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno P. Kinoshita committed Mar 5, 2019
1 parent cb62920 commit fa4178f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/UserProfile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
</v-layout>
</v-container>
</v-form>
<v-progress-linear v-else :indeterminate="true" />
</material-card>
</v-flex>
</v-layout>
Expand All @@ -75,6 +76,7 @@
...mapState('user', ['user'])
},
beforeCreate() {
this.$store.dispatch('user/setUser', null);
UserService.getUserProfile()
},
metaInfo() {
Expand Down

0 comments on commit fa4178f

Please sign in to comment.