bugfix in ##172, forgot to load types second time

This commit is contained in:
Tim Gröger 2020-03-01 20:41:12 +01:00
parent ef733e040a
commit 715d216efb
1 changed files with 4 additions and 3 deletions

View File

@ -463,9 +463,10 @@ export default {
},
computeType() {
return id => {
return this.types.find(a => {
return a.id === id
}).name
const type = this.types.find(a => {
return a.id === id
})
return type ? type.name : null
}
}
},