Skip to content

Commit 13b1525

Browse files
committed
fix: remove MCP tool type restriction from copy and export permissions
1 parent 842b4dd commit 13b1525

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ui/src/views/tool/component/ToolListContainer.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,7 @@
272272
<el-dropdown-item
273273
v-if="
274274
!item.template_id &&
275-
permissionPrecise.copy(item.id) &&
276-
item.tool_type !== 'MCP'
275+
permissionPrecise.copy(item.id)
277276
"
278277
@click.stop="copyTool(item)"
279278
>
@@ -316,8 +315,7 @@
316315
<el-dropdown-item
317316
v-if="
318317
!item.template_id &&
319-
permissionPrecise.export(item.id) &&
320-
item.tool_type !== 'MCP'
318+
permissionPrecise.export(item.id)
321319
"
322320
@click.stop="exportTool(item)"
323321
>

0 commit comments

Comments
 (0)