Only hide recent notes if recent_notes is None.
This commit is contained in:
parent
431bf6ace7
commit
8993f69c0c
|
@ -32,7 +32,7 @@ class Note_tree_area( Div ):
|
||||||
) or None,
|
) or None,
|
||||||
tree_id = "note_tree_root_table",
|
tree_id = "note_tree_root_table",
|
||||||
),
|
),
|
||||||
( recent_notes and notebook.name != u"trash" ) and Span(
|
( recent_notes is not None and notebook.name != u"trash" ) and Span(
|
||||||
H4( u"recent notes",
|
H4( u"recent notes",
|
||||||
id = u"recent_notes_area_title",
|
id = u"recent_notes_area_title",
|
||||||
),
|
),
|
||||||
|
|
Reference in New Issue