More bugfixes on displays and interactions, mainly fixing damage done two commits ago

This commit is contained in:
Nathan Schneider
2021-12-29 22:25:28 -07:00
parent 6c9353d389
commit 1a6f27f2f6
2 changed files with 12 additions and 2 deletions

View File

@ -50,6 +50,7 @@ function modpol.interactions.dashboard(user)
local all_users = modpol.instance:list_members()
-- pending list
local user_pending_count = 0
local user_pending = {}
for k,v in ipairs(modpol.orgs.array) do
if v.pending and v.pending[user] then
if modpol.util.num_pairs(v.pending[user]) ~= 0 then