7953-devToTest_2438 #693

Merged
alexm merged 328 commits from 7953-devToTest_2438 into test 2024-09-10 08:31:29 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit 60c8b0be39 - Show all commits

View File

@ -99,11 +99,11 @@ watch(
if (route.params.id) store.url = store.url.replace(/(\d+)/, route.params.id);
} else {
// Cuando el usuario cambia en la URL
const claveFk = Object.keys(arrayData.store.filter.where).find((clave) =>
clave.endsWith('Fk')
const keyFk = Object.keys(arrayData.store.filter.where).find((key) =>
key.endsWith('Fk')
);
if (claveFk) {
arrayData.store.filter.where[claveFk] = route.params.id;
if (keyFk) {
arrayData.store.filter.where[keyFk] = route.params.id;
}
}