mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
Address: remove forceRedirect option: backUrl option not null is considerated as forceRedirect true
This commit is contained in:
@@ -86,8 +86,7 @@ export default {
|
||||
this.options.hideAddress : this.defaultz.hideAddress;
|
||||
},
|
||||
forceRedirect() {
|
||||
return (typeof this.options.forceRedirect !== 'undefined') ?
|
||||
this.options.forceRedirect : this.defaultz.forceRedirect;
|
||||
return this.context.backUrl !== null;
|
||||
},
|
||||
noAddressWithStickyActions() {
|
||||
return !this.context.edit && !this.address.id && this.options.stickyActions;
|
||||
|
Reference in New Issue
Block a user