This commit is contained in:
2021-04-12 17:32:24 +00:00
parent f1ca093a49
commit 5183e35a89

View File

@@ -287,7 +287,7 @@ export default {
//return actual status object from top level shell based on current state
//if state is unknown then it should return a placeholder dummy state showing an error condition or empty I guess
if (this.obj.states != null) {
if (this.obj.states != null && this.obj.states.length > 0) {
//find it in the status collection
//and return here
let laststate = this.obj.states[this.obj.states.length - 1];