diff --git a/CHANGELOG.md b/CHANGELOG.md
index e34523545..fd8a900b6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
+- (Worker) => Se crea la sección Taquilla
+
### Fixed
- (General) => Se vuelven a mostrar los parámetros en la url al aplicar un filtro
diff --git a/quasar.config.js b/quasar.config.js
index dd7a91002..b59c62eeb 100644
--- a/quasar.config.js
+++ b/quasar.config.js
@@ -29,7 +29,7 @@ module.exports = configure(function (/* ctx */) {
// app boot file (/src/boot)
// --> boot files are part of "main.js"
// https://v2.quasar.dev/quasar-cli/boot-files
- boot: ['i18n', 'axios', 'vnDate', 'validations', 'quasar.defaults'],
+ boot: ['i18n', 'axios', 'vnDate', 'validations', 'quasar', 'quasar.defaults'],
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
css: ['app.scss'],
diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue
index fd8570176..064ad1631 100644
--- a/src/components/CreateNewPostcodeForm.vue
+++ b/src/components/CreateNewPostcodeForm.vue
@@ -127,9 +127,10 @@ const onProvinceCreated = async ({ name }, formData) => {
-
-
-
+ {
async function fetch() {
try {
- const { data } = await axios.get($props.url, {
+ let { data } = await axios.get($props.url, {
params: { filter: JSON.stringify($props.filter) },
});
+
+ if (Array.isArray(data)) data = data[0] ?? {};
+
state.set($props.model, data);
originalData.value = data && JSON.parse(JSON.stringify(data));
diff --git a/src/components/common/VnCard.vue b/src/components/common/VnCard.vue
index 6d0badffb..a062e4d80 100644
--- a/src/components/common/VnCard.vue
+++ b/src/components/common/VnCard.vue
@@ -1,5 +1,5 @@
{
+ const routeExists = route.matched.some(
+ (route) => route.name === `${route.meta.moduleName}Summary`
+ );
+ return !isSummary.value && route.meta.moduleName && routeExists;
+});
@@ -64,7 +71,7 @@ async function fetch() {