Browse Source

Fixed modpol.dashboard call for listing orgs to new nomenclature

Nathan Schneider 3 năm trước cách đây
mục cha
commit
10810eeaa7
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      modpol/interactions/interactions.lua

+ 2 - 1
modpol/interactions/interactions.lua

@@ -12,8 +12,9 @@
 modpol.dashboard = function(user)
    local output = ""
    -- Org status
-   output = output .. "Orgs:\n" .. modpol.orgs.list_orgs()
+   output = output .. "Orgs:\n" .. modpol.orgs.list_all()
    -- Process status (ongoing processes)
+   output = output .. "Processes:\n" .. table.concat(modpol.processes)
    -- Command list (should be redone to be org-specific)
    output = output .. "Command list:\n"
    for key,value in pairs(modpol) do