diff --git a/src/fime/main.py b/src/fime/main.py index df04ab0..4ad4a84 100755 --- a/src/fime/main.py +++ b/src/fime/main.py @@ -106,7 +106,7 @@ class App: already_taken = (len(self.tasks.tasks) + 4) * action_height available_space = get_screen_height(self.menu) * 0.8 - already_taken jira_entry_count = int(available_space // action_height) - add_tasks(self.tasks.jira_tasks[:jira_entry_count]) + add_tasks(self.tasks.jira_tasks[-jira_entry_count:]) self.menu.addSeparator() add_tasks(["Pause"])