diff --git a/datacenter/app/datastores/documents/page.tsx b/datacenter/app/datastores/documents/page.tsx
index 82cd96838..02f2126d6 100644
--- a/datacenter/app/datastores/documents/page.tsx
+++ b/datacenter/app/datastores/documents/page.tsx
@@ -18,7 +18,7 @@ import {
import moment from 'moment'
import { InboxOutlined } from '@ant-design/icons'
import type { UploadProps } from 'antd'
-import { Upload, Pagination, message } from 'antd'
+import { Upload, Pagination, Popover, message } from 'antd'
import { fetchBaseURL } from '@/app/datastores/constants'
const { Dragger } = Upload
@@ -149,6 +149,7 @@ const Documents = () => {
Size |
Last Synch |
Status |
+ Result |
Operation |
@@ -157,11 +158,7 @@ const Documents = () => {
{row.doc_name} |
-
+
{row.doc_type}
|
@@ -169,7 +166,7 @@ const Documents = () => {
{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
+
+
+ )
+ }
+ })()}
+ |
{
<>
@@ -301,7 +329,10 @@ const Documents = () => {
{stepsOfAddingDocument.map((item: any, index: number) => (
-
{item}
@@ -393,7 +424,7 @@ const Documents = () => {
)}
|