Zakladni verze planovace
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user