Skip to content

Commit 6b8a165

Browse files
committed
fix: Application List - Open in More Actions to go to the chat, page returns 404
1 parent 4c4d8dd commit 6b8a165

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/src/views/application/index.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,9 +563,7 @@ function toChat(row: any) {
563563
aips = aips ? aips : []
564564
const apiParams = mapToUrlParams(aips) ? '?' + mapToUrlParams(aips) : ''
565565
ApplicationApi.getAccessToken(row.id, loading).then((res: any) => {
566-
const newUrl = router.resolve({
567-
path: application.location + res?.data?.access_token + apiParams,
568-
}).href
566+
const newUrl = application.location + res?.data?.access_token + apiParams
569567
window.open(newUrl)
570568
})
571569
})

0 commit comments

Comments
 (0)