set filters loads locations & images preview
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
import CardEmpty from '../components/CardEmpty.vue';
|
||||
import useTrackingLoad from '../composables/useTrackingLoad';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import AttachmentsModal from '../components/AttachmentsModal.vue';
|
||||
import { useLoadsStore } from '../stores/loads';
|
||||
|
||||
const mapKey = import.meta.env.VITE_MAP_KEY;
|
||||
|
||||
@@ -22,6 +24,8 @@
|
||||
const polylines = ref([]);
|
||||
const isLoadActive = ref(false);
|
||||
const windowWidth = ref(window.innerWidth);
|
||||
const loadStore = useLoadsStore();
|
||||
|
||||
|
||||
onMounted(() => {
|
||||
window.addEventListener('resize', handleResize);
|
||||
@@ -90,6 +94,7 @@
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AttachmentsModal v-if="loadStore.openAttachmentsModal"/>
|
||||
<h2 class="title text-center mt-5">{{ t('loads.trackingLoad') }}</h2>
|
||||
<Spiner v-if="loading"/>
|
||||
<div v-else>
|
||||
|
||||
Reference in New Issue
Block a user