Fix group submission wsevent

This commit is contained in:
cuom1999 2022-06-08 23:00:34 +07:00
parent ad2f4f5952
commit b523dcd2f6

View file

@ -389,8 +389,8 @@ class OrganizationSubmissions(
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
context = super(OrganizationSubmissions, self).get_context_data(**kwargs) context = super(OrganizationSubmissions, self).get_context_data(**kwargs)
context["dynamic_update"] = context["page_obj"].number == 1 # context["dynamic_update"] = context["page_obj"].number == 1
context["last_msg"] = event.last() # context["last_msg"] = event.last()
context["stats_update_interval"] = 3600 context["stats_update_interval"] = 3600
context["page_type"] = "submissions" context["page_type"] = "submissions"
context["page_prefix"] = None context["page_prefix"] = None