Skip to content

Commit 36f4dfb

Browse files
authored
fix: Application List - Hold down Ctrl+to set the new window opened to still be the application list page (#4451)
1 parent 8874988 commit 36f4dfb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/src/views/application/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,10 @@ function settingApplication(event: any, row: any) {
568568
if (event?.ctrlKey) {
569569
event?.preventDefault()
570570
event.stopPropagation()
571-
window.open(`/application/workspace/${row.id}/workflow`, '_blank')
571+
const newUrl = router.resolve({
572+
path: `/application/workspace/${row.id}/workflow`,
573+
}).href
574+
window.open(newUrl)
572575
} else {
573576
router.push({ path: `/application/workspace/${row.id}/workflow` })
574577
}

0 commit comments

Comments
 (0)