Commit 535896cb authored by Bryce Johnson's avatar Bryce Johnson

Check userCanApprove in showUnapproveButton.

parent 9c85c6fe
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
return this.approvedBy && this.approvedBy.length; return this.approvedBy && this.approvedBy.length;
}, },
showUnapproveButton() { showUnapproveButton() {
return this.userHasApproved; return this.userHasApproved && !this.userCanApprove;
}, },
}, },
methods: { methods: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment