fix(ui) Minor usability fixes for transfer / invite dialog
This commit is contained in:
parent
de6e959937
commit
81c33ece8c
|
@ -22,6 +22,7 @@
|
|||
"@quasar/quasar-ui-qcalendar": "^4.0.0-beta.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@flaschengeist/api": "^1.0.0-alpha.5",
|
||||
"@flaschengeist/types": "^1.0.0-alpha.8",
|
||||
"@quasar/app": "^3.2.3",
|
||||
"quasar": "^2.3.3",
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
filled
|
||||
:options="otherUsers"
|
||||
:option-label="(opt) => opt.display_name"
|
||||
:multiple="isInvite"
|
||||
:option-disable="(opt) => !isInvite && invitees.length > 0 && opt != invitees[0]"
|
||||
multiple
|
||||
use-chips
|
||||
stack-label
|
||||
label="Dienste"
|
||||
|
@ -22,7 +23,7 @@
|
|||
</q-card-section>
|
||||
<!-- buttons example -->
|
||||
<q-card-actions align="right">
|
||||
<q-btn color="primary" label="Ok" @click="invite" />
|
||||
<q-btn color="primary" label="Ok" :disable="invitees.length === 0" @click="invite" />
|
||||
<q-btn color="primary" label="Abbrechen" @click="onDialogCancel" />
|
||||
</q-card-actions>
|
||||
</q-card>
|
||||
|
|
Loading…
Reference in New Issue