mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
Usunięto blokowanie pobierania/kopiowania składu
This commit is contained in:
@@ -220,10 +220,10 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
copyToClipboard() {
|
copyToClipboard() {
|
||||||
if (this.stockHasWarnings()) {
|
// if (this.stockHasWarnings()) {
|
||||||
alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!');
|
// alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!');
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
navigator.clipboard.writeText(this.stockString);
|
navigator.clipboard.writeText(this.stockString);
|
||||||
|
|
||||||
@@ -331,8 +331,8 @@ export default defineComponent({
|
|||||||
downloadStock() {
|
downloadStock() {
|
||||||
if (this.store.stockList.length == 0) return alert('Lista pojazdów jest pusta!');
|
if (this.store.stockList.length == 0) return alert('Lista pojazdów jest pusta!');
|
||||||
|
|
||||||
if (this.stockHasWarnings())
|
// if (this.stockHasWarnings())
|
||||||
return alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!');
|
// return alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!');
|
||||||
|
|
||||||
const fileName = prompt(
|
const fileName = prompt(
|
||||||
'Nazwij plik, a następnie pobierz do folderu Presets (Dokumenty/TTSK/TrainDriver2):',
|
'Nazwij plik, a następnie pobierz do folderu Presets (Dokumenty/TTSK/TrainDriver2):',
|
||||||
|
|||||||
Reference in New Issue
Block a user