Skip to content
Snippets Groups Projects
Commit a0a2f7f0 authored by Julian's avatar Julian
Browse files

Make code more readable

parent 670f8ba9
No related branches found
No related tags found
1 merge request!49Resolve "AbsenceReasonGroupSelect triggers input erroneously"
...@@ -60,11 +60,11 @@ export default { ...@@ -60,11 +60,11 @@ export default {
* @return {boolean} Whether to mount the chip-group * @return {boolean} Whether to mount the chip-group
*/ */
showChips() { showChips() {
return ( if (this.customAbsenceReasons) {
(!this.$apollo.queries.absenceReasons.loading && return true;
this.absenceReasons.length) || }
this.customAbsenceReasonsExists return (!this.$apollo.queries.absenceReasons.loading &&
); this.absenceReasons.length);
}, },
customAbsenceReasonsExists() { customAbsenceReasonsExists() {
return this.customAbsenceReasons.length > 0; return this.customAbsenceReasons.length > 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment