#6772 - Reload data section when change Id #192

Merged
jsegarra merged 34 commits from 6772_reload_sections into dev 2024-08-27 15:17:45 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit f4ddc7001b - Show all commits
src/components/ui

View File

@ -96,7 +96,7 @@ watch(
store.data = null;
if (!arrayData.store?.filter?.where) {
//Cuando el cambio viene por VnSearchbar
store.url = store.url.replace(/(\d+)/, route.params.id);
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) =>
jsegarra marked this conversation as resolved Outdated
Outdated
Review

Clave seria Key?

Clave seria Key?