From 40bdfa26a845bd6249ba04db0e2a5f78639b28b9 Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 9 Nov 2022 12:31:00 +0100 Subject: [PATCH] =?UTF-8?q?Usuni=C4=99to=20blokowanie=20pobierania/kopiowa?= =?UTF-8?q?nia=20sk=C5=82adu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/StockListTab.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/StockListTab.vue b/src/components/StockListTab.vue index 9b383ad..e5845b7 100644 --- a/src/components/StockListTab.vue +++ b/src/components/StockListTab.vue @@ -220,10 +220,10 @@ export default defineComponent({ }, copyToClipboard() { - if (this.stockHasWarnings()) { - alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!'); - return; - } + // if (this.stockHasWarnings()) { + // alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!'); + // return; + // } navigator.clipboard.writeText(this.stockString); @@ -331,8 +331,8 @@ export default defineComponent({ downloadStock() { if (this.store.stockList.length == 0) return alert('Lista pojazdów jest pusta!'); - if (this.stockHasWarnings()) - return alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!'); + // if (this.stockHasWarnings()) + // return alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!'); const fileName = prompt( 'Nazwij plik, a następnie pobierz do folderu Presets (Dokumenty/TTSK/TrainDriver2):',