This commit is contained in:
@@ -287,7 +287,7 @@ export default {
|
|||||||
//return actual status object from top level shell based on current state
|
//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 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
|
//find it in the status collection
|
||||||
//and return here
|
//and return here
|
||||||
let laststate = this.obj.states[this.obj.states.length - 1];
|
let laststate = this.obj.states[this.obj.states.length - 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user