Skip to content

Commit

Permalink
Two Add ITA Exam Buttons
Browse files Browse the repository at this point in the history
Client testing found that if a user had the Office Manager permission set to 1 and wasn't a GA, that two Add ITA Exam buttons would show on the exam invetory page. This issue was fixed by fixing partial logic on the buttons-exams such that a negation is now complete.
  • Loading branch information
Adam Kroon authored and sjrumsby committed Apr 25, 2019
1 parent 4212461 commit b1911ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/exams/buttons-exams.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<b-dd-item id="add_session"
@click="handleClick('challenger')">Add Monthly Session Exam</b-dd-item>
</b-dd>
<b-button v-if="role_code!=='GA'"
<b-button v-if="!(role_code === 'GA' || is_ita_designate)"
id="add_ita"
class="mr-1 btn-primary"
@click="handleClick('individual')">Add ITA Exam</b-button>
Expand Down

0 comments on commit b1911ed

Please sign in to comment.