From 292588c3cc00d259560192eea2b94418061cc89e Mon Sep 17 00:00:00 2001 From: Denzel Date: Fri, 24 Jan 2025 08:32:52 +0300 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BC?= =?UTF-8?q?=D0=BF=D0=BE=D0=BD=D0=B5=D0=BD=D1=82=D0=B0=20=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=D1=83=D0=BB=D1=8C=D1=82=D0=B0=D1=82=D0=BE=D0=B2=20=D0=B3=D0=BE?= =?UTF-8?q?=D0=BB=D0=BE=D1=81=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/front/src/components/vote/VoteResult.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/front/src/components/vote/VoteResult.vue b/src/front/src/components/vote/VoteResult.vue index fec4146a2..a3d69f6f6 100644 --- a/src/front/src/components/vote/VoteResult.vue +++ b/src/front/src/components/vote/VoteResult.vue @@ -108,7 +108,7 @@ Число сотрудников, которые не проголосовали - {{ nonVoters.length }}: + {{ nonVoters.length }} @@ -201,7 +201,7 @@ export default { }; const getTopResults = (question) => { - return [...question.answers].sort((a, b) => b.count - a.count).slice(0, 10); + return [...question.answers].sort((a, b) => b.count - a.count); }; const truncateText = (text, maxLength) => {