From 80c297d4d0830a718133c0b75b52964084114b18 Mon Sep 17 00:00:00 2001 From: Ilia Miheev Date: Sat, 7 Mar 2026 23:10:54 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=98=D0=BA=D1=81=20=D0=B1=D0=B0=D0=B3?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 2478581..0dbba04 100644 --- a/src/App.vue +++ b/src/App.vue @@ -140,13 +140,13 @@ function handleDownloadBtn() { } function createPlatform(item, color) { - if (!item.isPlatform) { + if (!item.isPlatform && item.variable.at(-1) !== clickCount.value - 1) { listOfTrips.value.push(item) numbers.value[item.index].variable.push(clickCount.value); + clickCount.value++ + item['isPlatform'] = true } - item['isPlatform'] = true numbers.value[item.index].BgImg = `images/${color}-platform.jpg` - clickCount.value++ } function deletePlatform(item) {