From 42e0af0b2001f57ce339a88fcc662b9ba1b5c25d Mon Sep 17 00:00:00 2001 From: Hangzhi Yu <hangzhi@protonmail.com> Date: Tue, 21 May 2024 14:32:08 +0200 Subject: [PATCH] Adapt style of teacher select --- .../frontend/components/substitutions/SubstitutionCard.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aleksis/apps/chronos/frontend/components/substitutions/SubstitutionCard.vue b/aleksis/apps/chronos/frontend/components/substitutions/SubstitutionCard.vue index 70063385..e588ab7d 100644 --- a/aleksis/apps/chronos/frontend/components/substitutions/SubstitutionCard.vue +++ b/aleksis/apps/chronos/frontend/components/substitutions/SubstitutionCard.vue @@ -31,6 +31,7 @@ import createOrPatchMixin from "aleksis.core/mixins/createOrPatchMixin.js"; deletable-chips dense hide-details + outlined :items="amendableTeachers" item-text="fullName" item-value="id" @@ -45,6 +46,7 @@ import createOrPatchMixin from "aleksis.core/mixins/createOrPatchMixin.js"; outlined color="error" class="mb-2" + small > <v-icon left>mdi-account-off-outline</v-icon> <div class="text-decoration-line-through"> @@ -58,6 +60,7 @@ import createOrPatchMixin from "aleksis.core/mixins/createOrPatchMixin.js"; :input-value="data.selected" close class="mb-2" + small :outlined="getTeacherStatus(data.item) === 'new'" :color="getTeacherStatus(data.item) === 'new' ? 'success' : ''" @click:close="removeTeacher(data.item)" -- GitLab