mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
Address: success message exception when redirection
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
</div>
|
||||
<div v-if="flag.success" class="alert alert-success">
|
||||
{{ $t(getSuccessText) }}
|
||||
<span v-if="forceRedirect">{{ $t('wait_redirection') }}</span>
|
||||
</div>
|
||||
|
||||
<div v-if="noAddressWithStickyActions" class="mt-5">
|
||||
@@ -84,6 +85,10 @@ export default {
|
||||
return (typeof this.options.hideAddress !== 'undefined') ?
|
||||
this.options.hideAddress : this.defaultz.hideAddress;
|
||||
},
|
||||
forceRedirect() {
|
||||
return (typeof this.options.forceRedirect !== 'undefined') ?
|
||||
this.options.forceRedirect : this.defaultz.forceRedirect;
|
||||
},
|
||||
noAddressWithStickyActions() {
|
||||
return !this.context.edit && !this.address.id && this.options.stickyActions;
|
||||
}
|
||||
|
Reference in New Issue
Block a user