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