Skip to content

Commit

Permalink
Clean and sanitaze code
Browse files Browse the repository at this point in the history
  • Loading branch information
lomamech committed Jun 22, 2021
1 parent b0a5e7d commit 2665be9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function SearchStockRequisitionModalController(data, util, Store, Instance, Peri
item.plainText = $translate.instant(item.title_key);
item.checked = 0;

if (lastDisplayValues.status ) {
if (lastDisplayValues.status) {
if (lastDisplayValues.status.includes(item.plainText)) {
item.checked = 1;
}
Expand Down

0 comments on commit 2665be9

Please sign in to comment.