fix: update condition for displaying tool store title based on template_id

This commit is contained in:
CaptainB 2025-12-08 17:23:18 +08:00
parent 1a303ff4e7
commit cb3acda519

View File

@ -94,7 +94,7 @@
<template #default="scope">
<span v-if="scope.row.tool_type === 'MCP'"> MCP </span>
<span v-else-if="scope.row.tool_type === 'DATA_SOURCE'"> {{ $t('views.tool.dataSource.title') }} </span>
<span v-else-if="scope.row.version">{{ $t('views.tool.toolStore.title') }}</span>
<span v-else-if="scope.row.template_id">{{ $t('views.tool.toolStore.title') }}</span>
<span v-else>
{{
$t(