Followed Matts suggestion with the push

This commit is contained in:
Wolfgang Huß 2019-10-10 09:06:28 +02:00
parent 7990879fc8
commit b556a601ce

View File

@ -73,11 +73,11 @@ export default {
'other', 'other',
] ]
let reasonCategoryOptions = [] let reasonCategoryOptions = []
valuesReasonCategoryOptions.forEach((reasonCategory, index) => { valuesReasonCategoryOptions.forEach(reasonCategory => {
reasonCategoryOptions[index] = { reasonCategoryOptions.push({
label: this.$t('report.reason.category.options.' + reasonCategory), label: this.$t('report.reason.category.options.' + reasonCategory),
value: reasonCategory, value: reasonCategory,
} })
}) })
return { return {