mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
chore(stock): added supporting internal cargo for generating 627Z & 412Z mixed containers
This commit is contained in:
@@ -110,7 +110,7 @@ import { isTractionUnit } from '../../../utils/vehicleUtils';
|
||||
import stockMixin from '../../../mixins/stockMixin';
|
||||
import { useStockListUtils } from '../../../utils/stockListUtils';
|
||||
|
||||
import { getCurrentStockFileName } from '../../../composables/file';
|
||||
import { getCurrentStockFileName, getStockStringOutput } from '../../../composables/file';
|
||||
|
||||
import {
|
||||
Bookmark,
|
||||
@@ -166,7 +166,7 @@ export default defineComponent({
|
||||
|
||||
methods: {
|
||||
copyToClipboard() {
|
||||
navigator.clipboard.writeText(this.store.stockString);
|
||||
navigator.clipboard.writeText(getStockStringOutput());
|
||||
|
||||
setTimeout(() => {
|
||||
alert(this.$t('stocklist.alert-copied'));
|
||||
@@ -224,7 +224,7 @@ export default defineComponent({
|
||||
|
||||
if (!fileName) return;
|
||||
|
||||
const blob = new Blob([this.store.stockString]);
|
||||
const blob = new Blob([getStockStringOutput()]);
|
||||
const file = fileName + '.con';
|
||||
|
||||
var e = document.createEvent('MouseEvents'),
|
||||
|
||||
Reference in New Issue
Block a user