mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
Address: improve forceRedirect condition, if backUrl is null or undefined
This commit is contained in:
@@ -325,7 +325,7 @@ export default {
|
||||
return !this.context.edit && !this.inModal;
|
||||
},
|
||||
forceRedirect() {
|
||||
return this.context.backUrl !== null;
|
||||
return (!(this.context.backUrl === null || typeof this.context.backUrl === 'undefined'));
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
Reference in New Issue
Block a user