Mercurial > prosody-modules
changeset 5600:c799b460f9f0
mod_client_management: Make ID column dynamically sized
Its width can vary more than expected (because it can contain resources)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 14 Jul 2023 16:20:54 +0200 |
parents | da69496180e7 |
children | 6680a1f53353 |
files | mod_client_management/mod_client_management.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_client_management/mod_client_management.lua Fri Jul 14 16:09:43 2023 +0200 +++ b/mod_client_management/mod_client_management.lua Fri Jul 14 16:20:54 2023 +0200 @@ -438,7 +438,7 @@ end local colspec = { - { title = "ID"; key = "id"; width = math.max(#"client/", #"grant/") + #id.short() }; + { title = "ID"; key = "id"; width = "1p" }; { title = "Software"; key = "user_agent";