disable Assigned Ticket butten in ticket view until they would actually do something

This commit is contained in:
bton 2024-11-01 22:48:24 +01:00 committed by jedi
parent c0388e2b54
commit cf48428a4c
2 changed files with 6 additions and 4 deletions

View file

@ -18,7 +18,9 @@
<select class="form-control" v-model="ticket.assigned_to">
<option v-for="user in users" :value="user.username">{{ user.username }}</option>
</select>
<button class="form-control btn btn-success" @click="assignTicket(ticket)">
<button class="form-control btn btn-success"
@click="assignTicket(ticket)"
:disabled="!ticket.assigned_to">
Assign&nbsp;Ticket
</button>
</div>