Commit 10715b9e authored by Nicolas Wavrant's avatar Nicolas Wavrant

slapos_jio: do not pop attention points window if there is nothing user can do

parent b8c1ca76
...@@ -4,7 +4,7 @@ attention_point_list = [] ...@@ -4,7 +4,7 @@ attention_point_list = []
# For now keep the logic here hardcoded. # For now keep the logic here hardcoded.
if context.getPortalType() == "Hosting Subscription": if context.getPortalType() == "Hosting Subscription":
simulation_state = ["suspended", "confirmed"] simulation_state = ["confirmed"]
for ticket in context.Base_getOpenRelatedTicketList( for ticket in context.Base_getOpenRelatedTicketList(
limit=3, simulation_state=simulation_state): limit=3, simulation_state=simulation_state):
if ticket.getPortalType() == "Support Request": if ticket.getPortalType() == "Support Request":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment