Skip to content
Snippets Groups Projects
Commit db32b204 authored by Vegard Mehammer Eidsmo's avatar Vegard Mehammer Eidsmo
Browse files

Update index.ts

parent 41be8da6
Branches
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ function createCSV(res: Prod[]){ ...@@ -52,7 +52,7 @@ function createCSV(res: Prod[]){
if(thisProd.GTIN.length > 0){ if(thisProd.GTIN.length > 0){
//Handle //Handle
let handle: string = `${thisProd.Number}-${thisProd.Variant? thisProd.Variant: thisProd.Color}`.replace(/ /g,"-"); let handle: string = `${thisProd.Number}-${thisProd.Variant? thisProd.Variant: thisProd.Color}`.replace(/ /g,"-").toLocaleLowerCase();
let line: string = `\r\n${handle}`; let line: string = `\r\n${handle}`;
//Title //Title
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment