Skip to content

Commit

Permalink
fix proposal button
Browse files Browse the repository at this point in the history
  • Loading branch information
ajatprabha committed Oct 23, 2018
1 parent d6e4dfe commit e06e04e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/components/Project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,13 @@
...mapGetters('mentorList', ['mentorList']),
...mapGetters('proposalList', ['studentProposalList']),
...mapGetters('studentList', ['studentList']),
...mapGetters('studentProfile', ['studentProfile']),
...mapGetters('auth', ['isLoggedIn']),
chips () {
return this.project.technologies
},
showProposalDialogButton () {
return !this.mentor && this.isLoggedIn
return !this.mentor && this.isLoggedIn && this.studentProfile.id !== ''
}
},
methods: {
Expand Down

0 comments on commit e06e04e

Please sign in to comment.