From 5183e35a892cf7bf60537bbb6232e2d0b0bd2080 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 12 Apr 2021 17:32:24 +0000 Subject: [PATCH] --- ayanova/src/views/svc-workorder.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];