mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-01 22:10:38 +08:00
fix: update IN SERVICE status text in app detail panel (#19993)
This commit is contained in:
parent
d35d854259
commit
83e71ab27c
@ -18,7 +18,7 @@ import style from './style.module.css'
|
|||||||
import type { ConfigParams } from './settings'
|
import type { ConfigParams } from './settings'
|
||||||
import Tooltip from '@/app/components/base/tooltip'
|
import Tooltip from '@/app/components/base/tooltip'
|
||||||
import AppBasic from '@/app/components/app-sidebar/basic'
|
import AppBasic from '@/app/components/app-sidebar/basic'
|
||||||
import { asyncRunSafe, randomString } from '@/utils'
|
import { asyncRunSafe } from '@/utils'
|
||||||
import { basePath } from '@/utils/var'
|
import { basePath } from '@/utils/var'
|
||||||
import { useStore as useAppStore } from '@/app/components/app/store'
|
import { useStore as useAppStore } from '@/app/components/app/store'
|
||||||
import Button from '@/app/components/base/button'
|
import Button from '@/app/components/base/button'
|
||||||
@ -184,7 +184,7 @@ function AppCard({
|
|||||||
: t('appOverview.overview.apiInfo.explanation')
|
: t('appOverview.overview.apiInfo.explanation')
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<div className='flex items-center gap-1'>
|
<div className='flex shrink-0 items-center gap-1'>
|
||||||
<Indicator color={runningStatus ? 'green' : 'yellow'} />
|
<Indicator color={runningStatus ? 'green' : 'yellow'} />
|
||||||
<div className={`${runningStatus ? 'text-text-success' : 'text-text-warning'} system-xs-semibold-uppercase`}>
|
<div className={`${runningStatus ? 'text-text-success' : 'text-text-warning'} system-xs-semibold-uppercase`}>
|
||||||
{runningStatus
|
{runningStatus
|
||||||
@ -210,7 +210,7 @@ function AppCard({
|
|||||||
content={isApp ? appUrl : apiUrl}
|
content={isApp ? appUrl : apiUrl}
|
||||||
className={'!size-6'}
|
className={'!size-6'}
|
||||||
/>
|
/>
|
||||||
{isApp && <ShareQRCode content={isApp ? appUrl : apiUrl} className='z-50 !size-6 rounded-md hover:bg-state-base-hover' selectorId={randomString(8)} />}
|
{isApp && <ShareQRCode content={isApp ? appUrl : apiUrl} />}
|
||||||
{isApp && <Divider type="vertical" className="!mx-0.5 !h-3.5 shrink-0" />}
|
{isApp && <Divider type="vertical" className="!mx-0.5 !h-3.5 shrink-0" />}
|
||||||
{/* button copy link/ button regenerate */}
|
{/* button copy link/ button regenerate */}
|
||||||
{showConfirmDelete && (
|
{showConfirmDelete && (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user