Skip to content
Snippets Groups Projects
Commit 4cb49dad authored by Chris Lawton's avatar Chris Lawton
Browse files

swap the order of the way the classes are added for consistency when debugging

parent b8df6551
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,8 @@ from .widgets import Select2MultiCheckboxesWidget
def make_row_class(record):
css_class = '' if record.active else 'is-inactive'
css_class += ' child' if record.next else ' parent'
css_class = 'tr tr--child' if record.next else 'tr tr--parent'
css_class += '' if record.active else ' is-inactive'
return css_class
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment