From 269bd734e01679e6fc5a9016c27facf418c34a6b Mon Sep 17 00:00:00 2001 From: wkarts <57051272+wkarts@users.noreply.github.com> Date: Sun, 8 Sep 2024 04:38:27 -0300 Subject: [PATCH] Update Typebot.vue --- .../dashboard/routes/dashboard/Typebot.vue | 26 +++++++------------ 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/app/javascript/dashboard/routes/dashboard/Typebot.vue b/app/javascript/dashboard/routes/dashboard/Typebot.vue index 637eaa777..db844c154 100644 --- a/app/javascript/dashboard/routes/dashboard/Typebot.vue +++ b/app/javascript/dashboard/routes/dashboard/Typebot.vue @@ -1,14 +1,7 @@ @@ -20,13 +13,13 @@ export default { data() { return { settings: { - frontend_url: '', // Apenas a URL do frontend + frontend_url: '', }, }; }, async created() { - const response = await typebotAPI.getSettings(); // Carrega as configurações - this.settings = response.data.settings; + const response = await typebotAPI.getSettings(); + this.settings = response.data; }, }; @@ -34,12 +27,11 @@ export default {