fix: update default frontend hardcoded route links (#5016)
This commit is contained in:
parent
ae6a03364d
commit
e13d673454
@ -689,7 +689,7 @@ export function useChannelsColumns(): ColumnDef<Channel>[] {
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
if (!deploymentId) return
|
||||
const targetUrl = `/console/deployment?deployment_id=${deploymentId}`
|
||||
const targetUrl = `/models/deployments?dFilter=${encodeURIComponent(String(deploymentId))}`
|
||||
window.open(targetUrl, '_blank', 'noopener')
|
||||
}}
|
||||
/>
|
||||
|
||||
@ -759,7 +759,9 @@ function FailureStatusContent({
|
||||
variant='outline'
|
||||
size='sm'
|
||||
className='h-7 w-fit px-2 text-xs'
|
||||
onClick={() => window.open('/console/setting?tab=ratio', '_blank')}
|
||||
onClick={() =>
|
||||
window.open('/system-settings/billing/model-pricing', '_blank')
|
||||
}
|
||||
>
|
||||
<Settings className='mr-1 h-3 w-3 shrink-0' />
|
||||
{t('Go to Settings')}
|
||||
|
||||
@ -57,7 +57,7 @@ export function MessageError({ message, className = '' }: MessageErrorProps) {
|
||||
variant='outline'
|
||||
size='sm'
|
||||
onClick={() =>
|
||||
window.open('/console/setting?tab=ratio', '_blank')
|
||||
window.open('/system-settings/billing/model-pricing', '_blank')
|
||||
}
|
||||
>
|
||||
<Settings className='mr-1 h-3.5 w-3.5' />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user