Skip to content

Commit 3a59453

Browse files
committed
fix: refine export condition for custom tool types
1 parent d7ad3ff commit 3a59453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/system-resource-management/ToolResourceIndex.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
</el-dropdown-item>
271271

272272
<el-dropdown-item
273-
v-if="!row.template_id && permissionPrecise.export()"
273+
v-if="!row.template_id && row.tool_type === 'CUSTOM' && permissionPrecise.export()"
274274
@click.stop="exportTool(row)"
275275
>
276276
<AppIcon iconName="app-export" class="color-secondary"></AppIcon>

0 commit comments

Comments
 (0)