From 9097dcd6d8797722f5a317ea561cf72dacba7bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Wed, 10 Aug 2022 22:11:28 +0300 Subject: [PATCH] fixed global.js addNewModal function --- resources/assets/js/mixins/global.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/mixins/global.js b/resources/assets/js/mixins/global.js index a160b1ba5..bda5c40f9 100644 --- a/resources/assets/js/mixins/global.js +++ b/resources/assets/js/mixins/global.js @@ -710,9 +710,9 @@ export default { Promise.resolve(window.axios.get(url)) .then(response => { if (response.data.success) { - modal.title = response.data.title; + modal.title = response.data.data.title; modal.html = response.data.html; - modal.buttons = response.data.buttons; + modal.buttons = response.data.data.buttons; this.component = Vue.component('add-new-component', (resolve, reject) => { resolve({