24 lines
397 B
Vue
24 lines
397 B
Vue
<script setup>
|
|
import {commonProps} from "src/composables/inputs";
|
|
|
|
const props = defineProps({
|
|
markers: {
|
|
type: Array,
|
|
required: true
|
|
}
|
|
});
|
|
|
|
|
|
const swapMarkers = (idx1, idx2) => {
|
|
const tmp = markers.value[idx1];
|
|
markers.value[idx1] = markers.value[idx2];
|
|
markers.value[idx2] = tmp;
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
|
|
sem prijde ten modal, ve kterem se edituje cela trasa
|
|
|
|
</template>
|