mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 00:35:56 +08:00
Fix: stop embedding status display (#523)
This commit is contained in:
parent
2b94545190
commit
d143284d99
@ -30,6 +30,7 @@
|
|||||||
.sourceItem .info {
|
.sourceItem .info {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
.sourceItem .info .name {
|
.sourceItem .info .name {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@ -45,6 +46,7 @@
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
color: #344054;
|
color: #344054;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
.sourceItem .error {
|
.sourceItem .error {
|
||||||
color: #D92D20;
|
color: #D92D20;
|
||||||
|
@ -74,7 +74,7 @@ const StepOne = ({
|
|||||||
setCurrentFile(file)
|
setCurrentFile(file)
|
||||||
}
|
}
|
||||||
const hideFilePreview = () => {
|
const hideFilePreview = () => {
|
||||||
setCurrentNotionPage(undefined)
|
setCurrentFile(undefined)
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateCurrentPage = (page: Page) => {
|
const updateCurrentPage = (page: Page) => {
|
||||||
|
@ -57,7 +57,7 @@ export const useIndexStatus = () => {
|
|||||||
return {
|
return {
|
||||||
queuing: { color: 'orange', text: t('datasetDocuments.list.status.queuing') }, // waiting
|
queuing: { color: 'orange', text: t('datasetDocuments.list.status.queuing') }, // waiting
|
||||||
indexing: { color: 'blue', text: t('datasetDocuments.list.status.indexing') }, // indexing splitting parsing cleaning
|
indexing: { color: 'blue', text: t('datasetDocuments.list.status.indexing') }, // indexing splitting parsing cleaning
|
||||||
paused: { color: 'orange', text: t('datasetDocuments.list.status.parsed') }, // paused
|
paused: { color: 'orange', text: t('datasetDocuments.list.status.paused') }, // paused
|
||||||
error: { color: 'red', text: t('datasetDocuments.list.status.error') }, // error
|
error: { color: 'red', text: t('datasetDocuments.list.status.error') }, // error
|
||||||
available: { color: 'green', text: t('datasetDocuments.list.status.available') }, // completed,archived = false,enabled = true
|
available: { color: 'green', text: t('datasetDocuments.list.status.available') }, // completed,archived = false,enabled = true
|
||||||
enabled: { color: 'green', text: t('datasetDocuments.list.status.enabled') }, // completed,archived = false,enabled = true
|
enabled: { color: 'green', text: t('datasetDocuments.list.status.enabled') }, // completed,archived = false,enabled = true
|
||||||
|
@ -32,7 +32,7 @@ const translation = {
|
|||||||
status: {
|
status: {
|
||||||
queuing: 'Queuing',
|
queuing: 'Queuing',
|
||||||
indexing: 'Indexing',
|
indexing: 'Indexing',
|
||||||
parsed: 'Parsed',
|
paused: 'Paused',
|
||||||
error: 'Error',
|
error: 'Error',
|
||||||
available: 'Available',
|
available: 'Available',
|
||||||
enabled: 'Enabled',
|
enabled: 'Enabled',
|
||||||
|
@ -32,7 +32,7 @@ const translation = {
|
|||||||
status: {
|
status: {
|
||||||
queuing: '排队中',
|
queuing: '排队中',
|
||||||
indexing: '索引中',
|
indexing: '索引中',
|
||||||
parsed: '已解析',
|
paused: '已暂停',
|
||||||
error: '错误',
|
error: '错误',
|
||||||
available: '可用',
|
available: '可用',
|
||||||
enabled: '已启用',
|
enabled: '已启用',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user