revert path length check change in new page modal

pull/7440/head
Brian Powell Jr 1 year ago
parent 6a1ac35ca5
commit a850162f8f
No known key found for this signature in database
GPG Key ID: 452080FC5442B172

@ -188,7 +188,9 @@ export default {
return false return false
} }
const firstSection = _.head(this.currentPath.split('/')) const firstSection = _.head(this.currentPath.split('/'))
if ( if (firstSection.length <= 1) {
return false
} else if (
_.some(['login', 'logout', 'register', 'verify', 'favicons', 'fonts', 'img', 'js', 'svg'], p => { _.some(['login', 'logout', 'register', 'verify', 'favicons', 'fonts', 'img', 'js', 'svg'], p => {
return p === firstSection return p === firstSection
})) { })) {

Loading…
Cancel
Save