disable Assigned Ticket butten in ticket view until they would actually do something
This commit is contained in:
parent
c6ddbfe7b8
commit
84aa2e8820
2 changed files with 7 additions and 5 deletions
|
@ -57,7 +57,7 @@ export default {
|
||||||
color: #17a2b8;
|
color: #17a2b8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.async-wrapper.loaded > .loader-wrapper > .loader-ellipsis {
|
.async-wrapper.loaded > .loader-wrapper {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,4 +130,4 @@ export default {
|
||||||
transform: translate(24px, 0);
|
transform: translate(24px, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -18,8 +18,10 @@
|
||||||
<select class="form-control" v-model="ticket.assigned_to">
|
<select class="form-control" v-model="ticket.assigned_to">
|
||||||
<option v-for="user in users" :value="user.username">{{ user.username }}</option>
|
<option v-for="user in users" :value="user.username">{{ user.username }}</option>
|
||||||
</select>
|
</select>
|
||||||
<button class="form-control btn btn-success" @click="assignTicket(ticket)">
|
<button class="form-control btn btn-success"
|
||||||
Assign Ticket
|
@click="assignTicket(ticket)"
|
||||||
|
:disabled="!ticket.assigned_to">
|
||||||
|
Assign Ticket
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
|
@ -124,4 +126,4 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue