Don't show sub-only campaigns in the inventory view
This commit is contained in:
1 parent
c7b89cae2f
commit
ab37b0a143
1 file changed
+2
-1
@@ -1306,7 +1306,8 @@ class InventoryOverview:
|
|||||||
finished = bool(self._filters["finished"].get())
|
finished = bool(self._filters["finished"].get())
|
||||||
priority_only = self._settings.priority_only
|
priority_only = self._settings.priority_only
|
||||||
if (
|
if (
|
||||||
(not_linked or campaign.linked)
|
campaign.remaining_minutes > 0 # don't show sub-only campaigns
|
||||||
|
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 (
|
||||||
excluded or (
|
excluded or (
|
||||||
|
|||||||
Reference in new issue
Block a user