Skip to content

Commit

Permalink
Merge branch 'release-1.12.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
abidibo committed Dec 1, 2020
2 parents f531997 + 5087298 commit c3c7784
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion baton/static/baton/app/dist/baton.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion baton/static/baton/app/dist/baton.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion baton/static/baton/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion baton/static/baton/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "baton",
"version": "1.12.4",
"version": "1.12.5",
"description": "Django Baton App",
"main": "index.js",
"scripts": {
Expand Down
7 changes: 6 additions & 1 deletion baton/static/baton/app/src/core/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,12 @@ let Menu = {
data.forEach((voice, index) => {
let active = false
if (voice.type === 'free') {
active = location.pathname === voice.url
if (voice.re) {
let re = new RegExp(voice.re)
active = re.test(location.pathname)
} else {
active = location.pathname === voice.url
}
} else {
if (voice.url) {
let pathRexp = new RegExp(voice.url)
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = u'1.12.4'
version = u'1.12.5'
# The full version, including alpha/beta/rc tags.
release = u'1.12.4'
release = u'1.12.5'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='django-baton',
version='1.12.4',
version='1.12.5',
packages=['baton', 'baton.autodiscover', 'baton.templatetags'],
include_package_data=True,
license='MIT License',
Expand Down
Binary file modified testapp/app/db.sqlite3
Binary file not shown.

0 comments on commit c3c7784

Please sign in to comment.