Fix ShowModal Call
Error: admin.js:2 ReferenceError: showModal is not defined fix add Group in Edit family - it was missing $root
This commit is contained in:
parent
d273914769
commit
2b043f91ac
|
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
<script type="text/x-template" id="group-list-template">
|
<script type="text/x-template" id="group-list-template">
|
||||||
<div style="margin-top: 20px">
|
<div style="margin-top: 20px">
|
||||||
<button type="button" style="margin-bottom : 20px" class="btn btn-md btn-primary" @click="showModal('addGroupForm')">
|
<button type="button" style="margin-bottom : 20px" class="btn btn-md btn-primary" @click="$root.showModal('addGroupForm')">
|
||||||
{{ __('admin::app.catalog.families.add-group-title') }}
|
{{ __('admin::app.catalog.families.add-group-title') }}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
@ -461,4 +461,4 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue