fixed ##214

This commit is contained in:
Tim Gröger 2020-03-05 20:15:35 +01:00
parent c0360bfff5
commit a82d3bf4b6
1 changed files with 5 additions and 1 deletions

View File

@ -220,7 +220,11 @@ export default {
return this.user.autoLock ? 'green' : 'red'
},
computeStatus() {
return this.status.find(a => a.id == this.user.statusgroup).name
try {
return this.status.find(a => a.id == this.user.statusgroup).name
} catch (e) {
return null
}
}
},
created() {