Commit e13d6734 by yyhhyyyyyy Committed by GitHub

fix: update default frontend hardcoded route links (#5016)

parent ae6a0336
......@@ -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' />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment