Team edits don't show add members input if the user is not an admin
This commit is contained in:
parent
f47483df39
commit
4f571ef068
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
<div class="card-content content team-members">
|
<div class="card-content content team-members">
|
||||||
<form @submit.prevent="addUser()" class="add-member-form">
|
<form @submit.prevent="addUser()" class="add-member-form" v-if="userIsAdmin">
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped">
|
||||||
<p class="control has-icons-left is-expanded" v-bind:class="{ 'is-loading': loading}">
|
<p class="control has-icons-left is-expanded" v-bind:class="{ 'is-loading': loading}">
|
||||||
<input class="input" v-bind:class="{ 'disabled': loading}" v-model.number="newUser.id" type="text" placeholder="Add a new user...">
|
<input class="input" v-bind:class="{ 'disabled': loading}" v-model.number="newUser.id" type="text" placeholder="Add a new user...">
|
||||||
|
|
Loading…
Reference in a new issue