forked from verdnatura/salix-front
refs #7283 clone
This commit is contained in:
parent
f29d873ed4
commit
86ae827fda
|
@ -239,7 +239,7 @@ const columns = computed(() => [
|
|||
|
||||
const cloneItem = async (itemFk) => {
|
||||
try {
|
||||
const { data } = await axios.post(`Items/${itemFk}/clone`);
|
||||
const { data } = await axios.post(`Items/${itemFk.id}/clone`);
|
||||
if (!data) return;
|
||||
router.push({ name: 'ItemTags', params: { id: data.id } });
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in New Issue