fixed ##214
This commit is contained in:
parent
c0360bfff5
commit
a82d3bf4b6
|
@ -220,7 +220,11 @@ export default {
|
||||||
return this.user.autoLock ? 'green' : 'red'
|
return this.user.autoLock ? 'green' : 'red'
|
||||||
},
|
},
|
||||||
computeStatus() {
|
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() {
|
created() {
|
||||||
|
|
Loading…
Reference in New Issue