diff --git a/ayanova/src/views/svc-workorder.vue b/ayanova/src/views/svc-workorder.vue index 2425621a..fbe8342d 100644 --- a/ayanova/src/views/svc-workorder.vue +++ b/ayanova/src/views/svc-workorder.vue @@ -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];