Skip to content

Commit

Permalink
#3055 Only show delete buttons if not read only
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalizer committed Jan 2, 2025
1 parent 2d338d8 commit a17615e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dashboard/src/components/users/UserSkillsPerformed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ const selectedSkills = ref([]);
</div>
<div class="flex">
<SkillsButton label="Delete Selected"
v-if="!projConfig.isReadOnlyProj"
icon="fa fa-trash"
size="small"
outlined
Expand All @@ -338,6 +339,7 @@ const selectedSkills = ref([]);
aria-label="Remove selected performed skills from user"
data-cy="performedSkills-deleteSelected"/>
<SkillsButton label="Delete All"
v-if="!projConfig.isReadOnlyProj"
icon="fa fa-trash"
size="small"
outlined
Expand Down

0 comments on commit a17615e

Please sign in to comment.