Skip to content

Commit

Permalink
fix: show live class start button only to moderators and evaluators
Browse files Browse the repository at this point in the history
  • Loading branch information
pateljannat committed Oct 23, 2024
1 parent c5ca428 commit aab7bdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/LiveClass.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
</div>
<div class="flex items-center space-x-2 text-gray-900 mt-auto">
<a
v-if="user.data?.is_moderator || user.data?.is_evaluator"
:href="cls.start_url"
target="_blank"
class="w-1/2 cursor-pointer inline-flex items-center justify-center gap-2 transition-colors focus:outline-none text-gray-800 bg-gray-100 hover:bg-gray-200 active:bg-gray-300 focus-visible:ring focus-visible:ring-gray-400 h-7 text-base px-2 rounded"
Expand Down

0 comments on commit aab7bdc

Please sign in to comment.