Skip to content

Commit

Permalink
NTR: fix #766 (#769)
Browse files Browse the repository at this point in the history
Co-authored-by: Vitalij Mik <[email protected]>
  • Loading branch information
BlackScorp and Vitalij Mik authored Jun 27, 2024
1 parent 3307aa4 commit 5e6ed82
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ Component.override('sw-order-line-items-grid', {
return itemShippingStatus.quantityShipped;
},
canceledQuantity(item){

if(this.cancelStatus === undefined || this.cancelStatus === null){
return '~';
}
const itemStatus = this.cancelStatus[item.id];
if(itemStatus === undefined || itemStatus === null){
return '~';
Expand Down

0 comments on commit 5e6ed82

Please sign in to comment.