diff --git a/datacenter/app/datastores/constants.tsx b/datacenter/app/datastores/constants.tsx index 427f053b4..ffacee373 100644 --- a/datacenter/app/datastores/constants.tsx +++ b/datacenter/app/datastores/constants.tsx @@ -1 +1 @@ -export const fetchBaseURL = 'http://30.183.153.109:5000'; +export const fetchBaseURL = 'http://30.183.154.76:5000'; diff --git a/datacenter/app/datastores/documents/chunklist/page.tsx b/datacenter/app/datastores/documents/chunklist/page.tsx index 0a3db6383..c0a0b3538 100644 --- a/datacenter/app/datastores/documents/chunklist/page.tsx +++ b/datacenter/app/datastores/documents/chunklist/page.tsx @@ -44,8 +44,8 @@ const ChunkList = () => { {chunkList.length ? ( <> ({ color: theme.vars.palette.text.secondary })) const stepsOfAddingDocument = [ - 'Choose a Datasource type', - 'Setup the Datasource' + '1.Choose a Datasource type', + '2.Setup the Datasource' ] const documentTypeList = [ { @@ -121,6 +121,7 @@ const Documents = () => { @@ -128,8 +129,8 @@ const Documents = () => { {documents.length ? ( <>
{ + @@ -156,11 +158,7 @@ const Documents = () => { @@ -168,8 +166,8 @@ const Documents = () => { +
Size Last Synch StatusResult Operation
{row.doc_name} - + {row.doc_type} {moment(row.last_sync).format('YYYY-MM-DD HH:MM:SS')} { {row.status} + {(function () { + if (row.status === 'TODO' || row.status === 'RUNNING') { + return '' + } else if (row.status === 'FINISHED') { + return ( + + + SUCCESS + + + ) + } else { + return ( + + + FAILED + + + ) + } + })()} + { <>