Skip to content
Snippets Groups Projects
Commit ad605e22 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '34-absencereasonbuttons-avoid-loading-if-data-is-there' into 'master'

Resolve "AbsenceReasonButtons avoid loading if data is there"

Closes #34

See merge request !53
parents 0c5f00f9 c59179e2
No related branches found
No related tags found
1 merge request!53Resolve "AbsenceReasonButtons avoid loading if data is there"
Pipeline #194014 passed
......@@ -12,7 +12,7 @@ export default {
absenceReasons: {
query: gqlAbsenceReasons,
skip() {
return this.customAbsenceReasons > 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