Commits

Anonymous committed 8e11fb4

Fixed wrong count of not voted issues

  • Participants
  • Parent commits e561892
  • Tags beta17

Comments (0)

Files changed (1)

File app/main/member/show_tab.lua

     if area.is_member or area.interested_issues_to_vote_count > 0 then
       not_voted_areas[#not_voted_areas+1] = area
     end
-    issues_to_vote_count = issues_to_vote_count + area.issues_to_vote_count_sum
+    if area.is_member then
+      issues_to_vote_count = issues_to_vote_count + area.issues_to_vote_count_sum
+    end
   end
 
   if issues_to_vote_count > 0 then