Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-ui
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WEBGDE-Components
web-ui
Commits
cfcc4e17
Commit
cfcc4e17
authored
Aug 09, 2023
by
Lynette Lizardo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the checking of xml last record saved
parent
fc42c1b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
getElement.js
WebGde/WebContent/WebGde-Widgets/BPO/getElement.js
+10
-10
config.js
WebGde/WebContent/WebGde-Widgets/config.js
+3
-3
No files found.
WebGde/WebContent/WebGde-Widgets/BPO/getElement.js
View file @
cfcc4e17
...
...
@@ -23,16 +23,16 @@ export class BPO {
//console.log("lastImage " + lastImage);
let
dir
=
await
lst
.
data
;
if
(
lastImage
){
const
index
=
dir
.
indexOf
(
lastImage
);
console
.
log
(
index
);
if
(
index
>
-
1
)
{
// only splice array when item is found
dir
.
splice
(
0
,
index
+
1
);
// 2nd parameter means remove one item only
}
if
(
dir
.
length
===
0
){
continue
;
}
}
//
if(lastImage){
//
const index = dir.indexOf(lastImage);
//
console.log(index);
//
if (index > -1) { // only splice array when item is found
//
dir.splice(0, index +1); // 2nd parameter means remove one item only
//
}
//
if(dir.length === 0){
//
continue;
//
}
//
}
sessionStorage
.
setItem
(
"dir_files"
,
JSON
.
stringify
(
dir
));
...
...
WebGde/WebContent/WebGde-Widgets/config.js
View file @
cfcc4e17
...
...
@@ -38,9 +38,9 @@ export const HIGH_LIGHT_SCHEMA = "./WebGde-Widgets/sample_schema/dbSchema_anno.
export
const
ROOT_FOLDER
=
"/WebGde-Widgets"
;
//this determines if the images will be retrieved from the gfs
export
const
DOMAIN
=
"http://
3.84.23.1
36:8080"
export
const
DOMAIN
=
"http://
44.202.64.
36:8080"
export
const
CONTEXTROOT
=
"gfs-explorer-ws"
export
const
GFS_URL
=
"http://
3.84.23.1
36: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
DOWNLOAD_URL
=
DOMAIN
+
"/"
+
CONTEXTROOT
+
"/svc/gfs-rest/get-download-link"
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
export
const
IS_RETRIEVE_FROM_BPO
=
"Y"
// export const BPO_URL = "http://35.171.20.94:8080/bpo-sqa/"
// export const CURRENT_NODE = "Web GDE"
export
const
BPO_URL
=
"http://
3.84.23.1
36:8080/bpo/"
export
const
BPO_URL
=
"http://
44.202.64.
36:8080/bpo/"
export
const
CURRENT_NODE
=
"Web_GDE_DEV"
export
const
ENCODING_PASS
=
"PASS1"
export
const
NEXT_NODE
=
"Complete"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment