imageConfig query refactor front #117
Loading…
Reference in New Issue
No description provided.
Delete Branch "wbuezas/hedera-web-mindshore:feature/imageConfig-query"
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?
PR relacionada del back: verdnatura/salix#3493
WIP: imageConfig query refactor frontto imageConfig query refactor front@ -60,2 +61,2 @@
const imageUrl = await jApi.getValue('SELECT url FROM imageConfig');
this.$patch({ imageUrl });
try {
const { data } = await api.get('/ImageConfigs/getImageConfig');
la / es correcto? Si la quitas que pasa?
Le quite la
/
y parece que también funciona.@ -62,0 +64,4 @@
if (!data) return;
const [config] = data;
this.imageUrl = config?.url;
y si haces this.imageUrl = [config]?.url? que pasa?
No funciona eso. Ahí hice un cambio y lo unifiqué en una línea sola
imageConfig query refactor frontto WIP: imageConfig query refactor frontWIP: imageConfig query refactor frontto imageConfig query refactor front