Skip to content

Commit

Permalink
adding back the admin delete changes with the terminology change
Browse files Browse the repository at this point in the history
  • Loading branch information
saboteurina committed Nov 28, 2023
1 parent 65d65da commit 3c1d33b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/client/src/components/Modals/EditTeam.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@
</b-form-group>
<form ref="form" @click="handleDelete">
<span id="disabled-wrapper" class="d-inline-block" tabindex="0">
<b-button v-bind:disabled="userRole !== 'admin'" style="pointer-events: none;" variant="danger">
Admin Delete {{newTerminologyEnabled ? 'Team' : 'Agency'}}
<b-button v-bind:disabled="userRole !== 'admin'" variant="outline-danger"> Delete {{newTerminologyEnabled ? 'Team' : 'Agency'}}
</b-button>
</span>
<b-tooltip v-if="userRole !== 'admin'" target="disabled-wrapper" triggers="hover">
Expand Down

0 comments on commit 3c1d33b

Please sign in to comment.