mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
fix: remove MCP tool type restriction from copy and export permissions
This commit is contained in:
parent
842b4ddc85
commit
13b1525806
|
|
@ -272,8 +272,7 @@
|
|||
<el-dropdown-item
|
||||
v-if="
|
||||
!item.template_id &&
|
||||
permissionPrecise.copy(item.id) &&
|
||||
item.tool_type !== 'MCP'
|
||||
permissionPrecise.copy(item.id)
|
||||
"
|
||||
@click.stop="copyTool(item)"
|
||||
>
|
||||
|
|
@ -316,8 +315,7 @@
|
|||
<el-dropdown-item
|
||||
v-if="
|
||||
!item.template_id &&
|
||||
permissionPrecise.export(item.id) &&
|
||||
item.tool_type !== 'MCP'
|
||||
permissionPrecise.export(item.id)
|
||||
"
|
||||
@click.stop="exportTool(item)"
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue