mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: update condition for displaying tool store title based on template_id
This commit is contained in:
parent
1a303ff4e7
commit
cb3acda519
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue