Added the is_search property to the report chooser to highlight the search when it is on the search page.
This commit is contained in:
1 parent
1f87bc00e8
commit
4306ed739f
2 files changed
+3
-1
No files matched your search
@@ -65,6 +65,8 @@ class ReportChooser:
|
||||
"""The links to the reports."""
|
||||
self.current_report: str | LazyString = ""
|
||||
"""The title of the current report."""
|
||||
self.is_search: bool = active_report == ReportType.SEARCH
|
||||
"""Whether the current report is the search page."""
|
||||
self.__reports.append(self.__journal)
|
||||
self.__reports.append(self.__ledger)
|
||||
self.__reports.append(self.__income_expenses)
|
||||
|
||||
Reference in new issue
Block a user