MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / if

Function if

web/src/components/table/ChannelsTable.js:1273–1279  ·  view source on GitHub ↗
(isBatchTesting)

Source from the content-addressed store, hash-verified

1271
1272 const handleCloseModal = () => {
1273 if (isBatchTesting) {
1274 // 清空测试队列来停止测试
1275 setTestQueue([]);
1276 setIsProcessingQueue(false);
1277 setIsBatchTesting(false);
1278 showSuccess(t('已停止测试'));
1279 } else {
1280 setShowModelTestModal(false);
1281 setModelSearchKeyword('');
1282 setSelectedModelKeys([]);

Callers

nothing calls this directly

Calls 2

showSuccessFunction · 0.90
tFunction · 0.70

Tested by

no test coverage detected