chore [X-01]: пулл
This commit is contained in:
1 parent
6ab58babcb
commit
a22c4453ce
1 file changed
+2
-2
@@ -41,7 +41,7 @@
|
||||
<div class="px-2">
|
||||
<Timer v-if="!isFinished" :voteTime="{ dateend: voteCard.dateend, datestart: voteCard.datestart }"
|
||||
@changeBtn="(time) => timeChange = time"/>
|
||||
|
||||
|
||||
<div v-else class="font-weight-bold text-center"> Завершено: {{
|
||||
new Date(voteCard.dateend).toLocaleDateString()
|
||||
}}
|
||||
@@ -54,7 +54,7 @@
|
||||
{{ !voteCard.is_passed ? "Проголосовать" : "Уже проголосовали" }}
|
||||
</v-btn>
|
||||
</template>
|
||||
<template v-else>
|
||||
<template v-if="user.id === voteCard.author || isFinished">
|
||||
<v-btn color="teal-darken-4" prepend-icon="mdi-trophy-outline"
|
||||
rounded="xl" size="small" variant="outlined" @click="$emit('openResultModal', voteCard)">
|
||||
Результаты
|
||||
|
||||
Reference in new issue
Block a user