Skip to content

Commit 3e47117

Browse files
committed
fix: simplify export tool permission check in ToolListContainer.vue
1 parent 30902f8 commit 3e47117

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,7 @@
232232
</el-dropdown-item>
233233
<el-dropdown-item v-if="
234234
!item.template_id &&
235-
permissionPrecise.export(item.id) &&
236-
item.tool_type !== 'MCP'
235+
permissionPrecise.export(item.id)
237236
" @click.stop="exportTool(item)">
238237
<AppIcon iconName="app-export" class="color-secondary"></AppIcon>
239238
{{ $t('common.export') }}

0 commit comments

Comments
 (0)