From 160879adeccb159d1de83d7baf2f26ed3644ca33 Mon Sep 17 00:00:00 2001 From: Spythere Date: Mon, 19 Feb 2024 21:25:21 +0100 Subject: [PATCH] hotfix --- src/components/tabs/StockListTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tabs/StockListTab.vue b/src/components/tabs/StockListTab.vue index bfe50f6..d180c36 100644 --- a/src/components/tabs/StockListTab.vue +++ b/src/components/tabs/StockListTab.vue @@ -324,7 +324,7 @@ export default defineComponent({ downloadStock() { if (this.store.stockList.length == 0) return alert(this.$t('stocklist.alert-empty')); - const defaultName = `${this.store.chosenRealStockName || this.store.stockList[0].type} ${this.store.totalWeight}t; ${ + const defaultName = `${this.store.chosenRealStockName || this.store.stockList[0].type} ${(this.store.totalWeight / 1000).toFixed(1)}t; ${ this.store.totalLength }m; vmax ${this.store.maxStockSpeed}`;