Team edits don't show add members input if the user is not an admin

This commit is contained in:
kolaente 2018-09-17 08:28:43 +02:00
parent f47483df39
commit 4f571ef068
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
</p>
</header>
<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">
<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...">