#8002 addSupportService #894
No reviewers
Labels
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#894
Loading…
Reference in New Issue
No description provided.
Delete Branch "xxxx-addSupportService"
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?
#8002 addSupportServiceto WIP: #8002 addSupportService@ -21,1 +21,3 @@
onMounted(() => stateStore.setMounted());
onMounted(() => {
stateStore.setMounted();
stateQuery.add(useRoute());
useRoute no es accesible desde un composable, si este no se usa dentro de un componente. Por eso lo guardo en stateQuery.
@ -17,3 +22,1 @@
.onOk(async () => {
if (successFn) successFn();
});
{ customHTML: () => h(component, props) }
Con la fn h se pueden pasar slots como parámetros.
@ -47,1 +54,4 @@
}
// Convey to Alex or Juan...
const additionalData = {
frontPath: stateQuery.route.name,
buscar alternativa para no usar stateQuery
Pongo location.href que sirve . Si se quiere implementar una solución más elegante como investigar la posibilidad de usar vue-router como un plugin en pinia o hacer un provide de useRoute() a nivel de la app e inyectarlo donde se necesite, pero, necesito más tiempo para probarlo. Para este caso con location.href es suficiente y efectivo
@ -50,0 +72,4 @@
dense: true,
flat: false,
round: true,
noDismiss: isErrorPrivaleges,
privileges
@ -320,1 +320,4 @@
raid: 'Redada {daysInForward} días'
sendCau: Enviar cau
ExplainReason: Explique el motivo por el que no deberia aparecer este fallo
By sending this ticket, all the data related to the error, the section, the user, etc., are already sent.: Al enviar este cau ya se envían todos los datos relacionados con el error, la sección, el usuario, etc
la clave tiene que ser mas corta
WIP: #8002 addSupportServiceto #8002 addSupportServicejuan
@ -50,0 +109,4 @@
},
],
};
notify(message ?? 'globals.error', 'negative', 'error', opts);
Utilizaría otro fichero distinto en boot para poner este codigo, ej.
cau.js
New commits pushed, approval review dismissed automatically according to repository settings