mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-24 12:48:30 +00:00
slot buttons up from actionButtons to addAddress
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<template>
|
||||
<template>step2
|
||||
<div class="address-form">
|
||||
|
||||
<!-- Not display in modal -->
|
||||
@@ -55,20 +55,16 @@
|
||||
</address-more>
|
||||
|
||||
<action-buttons v-if="insideModal === false"
|
||||
:flag="this.flag"
|
||||
:options="this.options"
|
||||
:default="this.default">
|
||||
:defaultz="this.defaultz">
|
||||
<template v-slot:before>
|
||||
<slot name="before"></slot>
|
||||
</template>
|
||||
<template v-slot:action>
|
||||
<li>
|
||||
<a class="btn btn-cancel change-icon" @click="flag.showPane = true; flag.editPane = false;">
|
||||
{{ $t('action.cancel') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="btn btn-save" @click.prevent="$emit('closeEditPane')">
|
||||
{{ $t('action.save')}}
|
||||
</a>
|
||||
</li>
|
||||
<slot name="action"></slot>
|
||||
</template>
|
||||
<template v-slot:after>
|
||||
<slot name="after"></slot>
|
||||
</template>
|
||||
</action-buttons>
|
||||
|
||||
@@ -96,13 +92,13 @@ export default {
|
||||
props: [
|
||||
'context',
|
||||
'options',
|
||||
'default',
|
||||
'defaultz',
|
||||
'flag',
|
||||
'entity',
|
||||
'errorMsg',
|
||||
'insideModal'
|
||||
],
|
||||
emits: ['closeEditPane', 'getCities', 'getReferenceAddresses'],
|
||||
emits: ['getCities', 'getReferenceAddresses'],
|
||||
data() {
|
||||
return {
|
||||
value: false
|
||||
|
||||
Reference in New Issue
Block a user