diff --git a/ayanova/src/components/work-order-items.vue b/ayanova/src/components/work-order-items.vue index 0eed5c45..8f65af5c 100644 --- a/ayanova/src/components/work-order-items.vue +++ b/ayanova/src/components/work-order-items.vue @@ -256,7 +256,10 @@ export default { }, computed: { isDeleted: function() { - console.trace("woitems isDeleted:", this.activeItemIndex); + if (this.value.items[activeItemIndex] == null) { + this.setDefaultView(); + return true; + } return this.value.items[this.activeItemIndex].deleted === true; }, headerList: function() {