Skip to content

Commit

Permalink
fix($vssue): disable submit button if issue is not ready (close #45)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Jun 4, 2019
1 parent 8996a83 commit dd72b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vssue/src/components/VssueNewComment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class VssueNewComment extends Vue {
}
get disabled (): boolean {
return this.content === '' || this.vssue.isPending
return this.content === '' || this.vssue.isPending || this.vssue.issue === null
}
get loading (): boolean {
Expand Down

0 comments on commit dd72b40

Please sign in to comment.