mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-09-05 01:16:38 +02:00
Add files via upload
This commit is contained in:
@@ -3137,12 +3137,12 @@ function ensureMcpCallSectionChrome(messageElement, messageId) {
|
||||
mcpSection.className = 'mcp-call-section';
|
||||
const mcpLabel = document.createElement('div');
|
||||
mcpLabel.className = 'mcp-call-label';
|
||||
mcpLabel.textContent = '📋 ' + (typeof window.t === 'function' ? window.t('chat.penetrationTestDetail') : '渗透测试详情');
|
||||
mcpLabel.textContent = '📋 ' + (typeof window.t === 'function' ? window.t('chat.penetrationTestDetail') : '任务执行详情');
|
||||
mcpSection.appendChild(mcpLabel);
|
||||
contentWrapper.appendChild(mcpSection);
|
||||
} else {
|
||||
const mcpLabel = mcpSection.querySelector('.mcp-call-label');
|
||||
const labelText = '📋 ' + (typeof window.t === 'function' ? window.t('chat.penetrationTestDetail') : '渗透测试详情');
|
||||
const labelText = '📋 ' + (typeof window.t === 'function' ? window.t('chat.penetrationTestDetail') : '任务执行详情');
|
||||
if (mcpLabel && mcpLabel.textContent !== labelText) {
|
||||
mcpLabel.textContent = labelText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user