Fix an issue with finished campaigns not being shown in the GUI

This commit is contained in:
DevilXD committed 2024-09-20 22:58:21 +02:00
1 parent 9becb14393
commit bd048e0cfa
1 file changed
+1 -1
+1 -1
View File
@@ -1316,7 +1316,7 @@ class InventoryOverview:
finished = bool(self._filters["finished"].get()) finished = bool(self._filters["finished"].get())
priority_only = self._settings.priority_mode is PriorityMode.PRIORITY_ONLY priority_only = self._settings.priority_mode is PriorityMode.PRIORITY_ONLY
if ( if (
campaign.remaining_minutes > 0 # don't show sub-only campaigns campaign.required_minutes > 0 # don't show sub-only campaigns
and (not_linked or campaign.linked) and (not_linked or campaign.linked)
and (campaign.active or upcoming and campaign.upcoming or expired and campaign.expired) and (campaign.active or upcoming and campaign.upcoming or expired and campaign.expired)
and ( and (