fixed global.js addNewModal function
This commit is contained in:
parent
14d3f78c1b
commit
9097dcd6d8
4
resources/assets/js/mixins/global.js
vendored
4
resources/assets/js/mixins/global.js
vendored
@ -710,9 +710,9 @@ export default {
|
|||||||
Promise.resolve(window.axios.get(url))
|
Promise.resolve(window.axios.get(url))
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if (response.data.success) {
|
if (response.data.success) {
|
||||||
modal.title = response.data.title;
|
modal.title = response.data.data.title;
|
||||||
modal.html = response.data.html;
|
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) => {
|
this.component = Vue.component('add-new-component', (resolve, reject) => {
|
||||||
resolve({
|
resolve({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user