From 81c33ece8c045c7f8865a62adf4e27914f16a559 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 29 Nov 2021 11:32:20 +0100 Subject: [PATCH] fix(ui) Minor usability fixes for transfer / invite dialog --- package.json | 1 + src/components/overview/slots/TransferInviteDialog.vue | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7368a69..d4371e9 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/overview/slots/TransferInviteDialog.vue b/src/components/overview/slots/TransferInviteDialog.vue index d95ee5d..bd4cc1e 100644 --- a/src/components/overview/slots/TransferInviteDialog.vue +++ b/src/components/overview/slots/TransferInviteDialog.vue @@ -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 @@ - +