mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-04 03:58:11 +00:00
Poprawka drag&drop
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="ready-stock-list" v-if="isOpen">
|
||||
<div class="ready-stock-list" v-if="store.isRealStockListCardOpen">
|
||||
<div class="top-sticky">
|
||||
<button class="btn btn--text exit" @click="exit">< POWRÓT</button>
|
||||
<button class="btn btn--text exit" @click="store.isRealStockListCardOpen = false">< POWRÓT</button>
|
||||
|
||||
<div class="header">
|
||||
<h1>
|
||||
@@ -65,7 +65,6 @@ export default defineComponent({
|
||||
data: () => ({
|
||||
responseStatus: 'loading',
|
||||
isMobile: 'ontouchstart' in document.documentElement && navigator.userAgent.match(/Mobi/) ? true : false,
|
||||
isOpen: false,
|
||||
|
||||
readyStockList: {} as ReadyStockList,
|
||||
searchedReadyStockName: '',
|
||||
@@ -97,10 +96,6 @@ export default defineComponent({
|
||||
return new URL(`./dir/${name}.png`, import.meta.url).href;
|
||||
},
|
||||
|
||||
exit() {
|
||||
this.isOpen = false;
|
||||
},
|
||||
|
||||
openPreview(e: Event, type: string, number: string) {
|
||||
e.preventDefault();
|
||||
|
||||
@@ -134,7 +129,7 @@ export default defineComponent({
|
||||
this.addVehicle(vehicle);
|
||||
});
|
||||
|
||||
this.exit();
|
||||
this.store.isRealStockListCardOpen = false;
|
||||
},
|
||||
|
||||
addVehicle(vehicle: Vehicle | null) {
|
||||
|
||||
Reference in New Issue
Block a user