Commit cfcc4e17 by Lynette Lizardo

remove the checking of xml last record saved

parent fc42c1b5
...@@ -23,16 +23,16 @@ export class BPO { ...@@ -23,16 +23,16 @@ export class BPO {
//console.log("lastImage " + lastImage); //console.log("lastImage " + lastImage);
let dir = await lst.data; let dir = await lst.data;
if(lastImage){ // if(lastImage){
const index = dir.indexOf(lastImage); // const index = dir.indexOf(lastImage);
console.log(index); // console.log(index);
if (index > -1) { // only splice array when item is found // if (index > -1) { // only splice array when item is found
dir.splice(0, index +1); // 2nd parameter means remove one item only // dir.splice(0, index +1); // 2nd parameter means remove one item only
} // }
if(dir.length === 0){ // if(dir.length === 0){
continue; // continue;
} // }
} // }
sessionStorage.setItem("dir_files", JSON.stringify(dir)); sessionStorage.setItem("dir_files", JSON.stringify(dir));
......
...@@ -38,9 +38,9 @@ export const HIGH_LIGHT_SCHEMA = "./WebGde-Widgets/sample_schema/dbSchema_anno. ...@@ -38,9 +38,9 @@ export const HIGH_LIGHT_SCHEMA = "./WebGde-Widgets/sample_schema/dbSchema_anno.
export const ROOT_FOLDER = "/WebGde-Widgets"; export const ROOT_FOLDER = "/WebGde-Widgets";
//this determines if the images will be retrieved from the gfs //this determines if the images will be retrieved from the gfs
export const DOMAIN = "http://3.84.23.136:8080" export const DOMAIN = "http://44.202.64.36:8080"
export const CONTEXTROOT = "gfs-explorer-ws" export const CONTEXTROOT = "gfs-explorer-ws"
export const GFS_URL = "http://3.84.23.136:8080" + "/Web-GDE/svc/gfs-rest" export const GFS_URL = "http://44.202.64.36:8080" + "/Web-GDE/svc/gfs-rest"
export const FOLDER_URL = DOMAIN + "/" + CONTEXTROOT + "/svc/gfs-rest/get-folder?parentPath=/Users/" export const FOLDER_URL = DOMAIN + "/" + CONTEXTROOT + "/svc/gfs-rest/get-folder?parentPath=/Users/"
export const DOWNLOAD_URL = DOMAIN + "/" + CONTEXTROOT + "/svc/gfs-rest/get-download-link" export const DOWNLOAD_URL = DOMAIN + "/" + CONTEXTROOT + "/svc/gfs-rest/get-download-link"
export const IS_RETRIEVE_FROM_GFS = "N" export const IS_RETRIEVE_FROM_GFS = "N"
...@@ -51,7 +51,7 @@ export const INVALID_KEYS = "F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,PrintScreen ...@@ -51,7 +51,7 @@ export const INVALID_KEYS = "F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,PrintScreen
export const IS_RETRIEVE_FROM_BPO = "Y" export const IS_RETRIEVE_FROM_BPO = "Y"
// export const BPO_URL = "http://35.171.20.94:8080/bpo-sqa/" // export const BPO_URL = "http://35.171.20.94:8080/bpo-sqa/"
// export const CURRENT_NODE = "Web GDE" // export const CURRENT_NODE = "Web GDE"
export const BPO_URL = "http://3.84.23.136:8080/bpo/" export const BPO_URL = "http://44.202.64.36:8080/bpo/"
export const CURRENT_NODE = "Web_GDE_DEV" export const CURRENT_NODE = "Web_GDE_DEV"
export const ENCODING_PASS = "PASS1" export const ENCODING_PASS = "PASS1"
export const NEXT_NODE = "Complete" export const NEXT_NODE = "Complete"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment