forked from verdnatura/salix-front
fix: refs #7129 clone post
This commit is contained in:
parent
27b699ebf4
commit
ca568c31ca
|
@ -225,7 +225,7 @@ function navigate(id) {
|
||||||
|
|
||||||
const cloneRoutes = () => {
|
const cloneRoutes = () => {
|
||||||
if (!selectedRows.value.length || !startingDate.value) return;
|
if (!selectedRows.value.length || !startingDate.value) return;
|
||||||
axios.post('route.Routes/clone', {
|
axios.post('Routes/clone', {
|
||||||
created: startingDate.value,
|
created: startingDate.value,
|
||||||
ids: selectedRows.value.map((row) => row?.id),
|
ids: selectedRows.value.map((row) => row?.id),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue