fix [P-256]: мердж

This commit is contained in:
Denis Voinovich committed 2025-06-03 14:48:01 +03:00
1 parent 421b7cbacd
commit 7930727468
3 files changed
+12 -4

No files matched your search

+1
View File
@@ -445,6 +445,7 @@ class TestResultView(generics.ListCreateAPIView):
'answer': None,
})
# answer_ids = [item['answer'] for item in request.data]
test_info = self.get_test_info(answer_ids, test_id)
if status == 'testing':
test_attempt, testing = self.create_test_attempt(user, test_info)
@@ -67,10 +67,17 @@
</v-row>
</v-card>
<!-- Если данные отсутствуют, выводим сообщение об этом -->
<v-container v-if="!searchTest.length" :fluid="true" class="empty-state">
<v-row class="align-center flex-column pa-8">
<v-container
v-if="!searchTest.length"
:fluid="true"
class="empty-state"
style="min-height: 70vh;"
>
<v-row class="align-center flex-column pa-8" style="min-height: 300px;">
<v-icon icon="mdi-note-off-outline" color="grey-lighten-1" size="64" class="mb-4" />
<v-card-title class="text-h5 text-grey-darken-1 font-weight-medium text-center">Данные не найдены</v-card-title>
<v-card-title class="text-h5 text-grey-darken-1 font-weight-medium text-center">
Данные не найдены
</v-card-title>
</v-row>
</v-container>
</template>
@@ -36,7 +36,7 @@
<v-tooltip location="bottom">
<template v-slot:activator="{ props }">
<v-btn icon @click="toggleTheme">
<v-icon v-bind="props" class="mr-1" color="lampa">
<v-icon v-bind="props" class="mr-1" :color="theme.global.current.value.dark ? 'yellow' : 'lampa'">
mdi-lightbulb-outline
</v-icon>
</v-btn>