#6951 add ticket clone #241
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#241
Loading…
Reference in New Issue
No description provided.
Delete Branch "6951-cloneTicket"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -25,2 +24,4 @@
const ticket = ref(props.ticket);
const ticketId = currentRoute.value.params.id;
const actions = { remove: remove, clone: clone };
Llama a la función remove y clone
@ -121,0 +114,4 @@
dialog({
component: VnConfirm,
componentProps: {
promise: actions[callback],
Se podria hacer sin usar el array, quiero decir. haciendo
promise: [callback]
funcionaria?Lo digo por evitar tener que poner cada funcion en un array
Lo he consultado con ChatGpt y no es posible. Lo que se puede hacer es guardar directamente la función dentro del objeto, te subo el commit y ya me dices.
PD: si poneis de revisor, quitad el WIP sino dudamos si revisarla
WIP: #6951 add ticket cloneto #6951 add ticket clone