Skip to content

Commit

Permalink
Merge pull request #697 from CSCfi/fix-review
Browse files Browse the repository at this point in the history
fix: review and 3rd-party review button rendering issues
  • Loading branch information
Koura authored Oct 24, 2018
2 parents 59895a3 + 3ef02ba commit 82400b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cljs/rems/application.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -727,9 +727,9 @@
[return-button]
[review-request-button]
[approve-button]])
(when (= "normal" (:review-type app))
(when (= :normal (:review-type app))
[[review-button]])
(when (= "third-party" (:review-type app))
(when (= :third-party (:review-type app))
[[third-party-review-button]]))]
(if (empty? buttons)
[:div]
Expand Down

0 comments on commit 82400b2

Please sign in to comment.