Skip to content

Commit

Permalink
feat: remove details of inactive reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik99999 committed Oct 28, 2024
1 parent 8fee78b commit eec026b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/components/ReviewerCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@
>
<small><i class="fas fa-trash me-1"></i>Deactivate</small>
</a>
<a v-else class="btn btn-link text-success" @click="changeActiveState(reviewer, true)">
<small><i class="fas fa-check-circle me-1"></i>Activate</small>
<a v-else class="btn btn-link" @click="changeActiveState(reviewer, true)">
<small><i class="fas fa-sync-alt me-1"></i>Reactivate</small>
</a>
</span>
</div>
<div class="card-body">
<p class="card-text">
<p v-if="reviewer.isActive" class="card-text">
<strong>Email:</strong> {{ reviewer.memberProfile.email }}<br />
<strong>Programming Languages:</strong> {{ reviewer.programmingLanguages.join(", ") }}<br />
<strong>Subject Areas:</strong> {{ reviewer.subjectAreas.join(", ") }}<br />
{{ reviewer.notes }}
</p>
<p v-else class="card-text text-muted">This reviewer is currently inactive.</p>
</div>
</div>
</template>
Expand Down

0 comments on commit eec026b

Please sign in to comment.