fix [P-245]: в счётчик назначенных только активные тесты
This commit is contained in:
1 parent
ce4504a7b1
commit
0329bb942a
1 file changed
+5
-1
@@ -247,7 +247,11 @@ export default {
|
||||
})
|
||||
.finally(() => {
|
||||
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;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user