diff --git a/aleksis/apps/kolego/frontend/components/AbsenceReasonGroupSelect.vue b/aleksis/apps/kolego/frontend/components/AbsenceReasonGroupSelect.vue index 874a559b0faed91c1241aa6d3c74eec35a23b1c3..2a33043b02240c40ab428cc3194b8b37e4e3b893 100644 --- a/aleksis/apps/kolego/frontend/components/AbsenceReasonGroupSelect.vue +++ b/aleksis/apps/kolego/frontend/components/AbsenceReasonGroupSelect.vue @@ -55,8 +55,7 @@ export default { * Determines whether the chips can be shown. * * Due to the eagerness of vuetify, we can only mount the chip-group, after the selected item has been loaded. - * Otherwise, vuetify would set the value to the first existing one. However, if it's possible to not be - * absent, we can show the chip-group directly, as the present chip is hardcoded. + * Otherwise, vuetify would set the value to the first existing one. * * @return {boolean} Whether to mount the chip-group */ @@ -64,8 +63,7 @@ export default { return ( (!this.$apollo.queries.absenceReasons.loading && this.absenceReasons.length) || - this.customAbsenceReasonsExists || - (this.allowEmpty && this.value === this.emptyValue) + this.customAbsenceReasonsExists ); }, customAbsenceReasonsExists() {