File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
components/resource_mapping Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ function toSetting(row: any) {
357357 }
358358 if (row .source_type === ' KNOWLEDGE' ) {
359359 const newUrl = router .resolve ({
360- path: ` /knowledge/${row .source_id }/${from }/${row .type }/document ` ,
360+ path: ` /knowledge/${row .source_id }/${from === ' workspace ' ? row . folder_id : from }/${row .type }/document ` ,
361361 }).href
362362 window .open (newUrl )
363363 } else if (row .source_type === ' APPLICATION' ) {
Original file line number Diff line number Diff line change 386386 <ToolIcon v-else type =" MCP" class =" mr-8" :size =" 20" />
387387
388388 <div
389- class =" ellipsis"
389+ class =" ellipsis-1 "
390390 :title =" relatedObject(mcpToolSelectOptions, item, 'id')?.name"
391391 >
392392 {{
486486 <ToolIcon v-else class =" mr-8" :size =" 20" />
487487
488488 <div
489- class =" ellipsis"
489+ class =" ellipsis-1 "
490490 :title =" relatedObject(toolSelectOptions, item, 'id')?.name"
491491 >
492492 {{ relatedObject(toolSelectOptions, item, 'id')?.name }}
567567 <AppIcon v-else class =" mr-8" :size =" 20" />
568568
569569 <div
570- class =" ellipsis"
570+ class =" ellipsis-1 "
571571 :title =" relatedObject(applicationSelectOptions, item, 'id')?.name"
572572 >
573573 {{ relatedObject(applicationSelectOptions, item, 'id')?.name }}
@@ -800,7 +800,6 @@ import McpServersDialog from '@/views/application/component/McpServersDialog.vue
800800import ToolDialog from ' @/views/application/component/ToolDialog.vue'
801801import ApplicationDialog from ' @/views/application/component/ApplicationDialog.vue'
802802import useStore from ' @/stores'
803- import { Agent } from ' http'
804803const route = useRoute ()
805804const router = useRouter ()
806805const {
You can’t perform that action at this time.
0 commit comments