fix [P-245]: в счётчик назначенных только активные тесты

This commit is contained in:
Denis Voinovich committed 2025-06-02 11:55:21 +03:00
1 parent ce4504a7b1
commit 0329bb942a
1 file changed
+5 -1
+5 -1
View File
@@ -247,7 +247,11 @@ export default {
}) })
.finally(() => { .finally(() => {
if (activeTab.value === 0) { if (activeTab.value === 0) {
currentTest.value = getAllTests.value.filter(test => test.is_active).length; currentTest.value = getAllTests.value.filter(test =>
test.is_active &&
test.is_passed !== true &&
test.attemps_number > 0
).length;
} }
}); });
}; };