Skip to content

Commit cb3acda

Browse files
committed
fix: update condition for displaying tool store title based on template_id
1 parent 1a303ff commit cb3acda

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
@@ -94,7 +94,7 @@
9494
<template #default="scope">
9595
<span v-if="scope.row.tool_type === 'MCP'"> MCP </span>
9696
<span v-else-if="scope.row.tool_type === 'DATA_SOURCE'"> {{ $t('views.tool.dataSource.title') }} </span>
97-
<span v-else-if="scope.row.version">{{ $t('views.tool.toolStore.title') }}</span>
97+
<span v-else-if="scope.row.template_id">{{ $t('views.tool.toolStore.title') }}</span>
9898
<span v-else>
9999
{{
100100
$t(

0 commit comments

Comments
 (0)