Skip to content

Commit

Permalink
Merge pull request #1077 from pateljannat/issues-45
Browse files Browse the repository at this point in the history
fix: show live class start button only to moderators and evaluators
  • Loading branch information
pateljannat authored Oct 23, 2024
2 parents c5ca428 + aab7bdc commit 224bb18
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 224bb18

Please sign in to comment.