mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
fix: Application List - Open in More Actions to go to the chat, page returns 404 (#4445)
This commit is contained in:
parent
4c4d8dd05d
commit
5cfd88e64d
|
|
@ -563,9 +563,7 @@ function toChat(row: any) {
|
|||
aips = aips ? aips : []
|
||||
const apiParams = mapToUrlParams(aips) ? '?' + mapToUrlParams(aips) : ''
|
||||
ApplicationApi.getAccessToken(row.id, loading).then((res: any) => {
|
||||
const newUrl = router.resolve({
|
||||
path: application.location + res?.data?.access_token + apiParams,
|
||||
}).href
|
||||
const newUrl = application.location + res?.data?.access_token + apiParams
|
||||
window.open(newUrl)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue