mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_admin_shell: Make 'Role' column dynamically sized
Some of the new roles don't quite fit nicely into 4 characters (excluding ellipsis). Given the ability to dynamically add additional roles from the config and possibly from modules, it seems better to just make it a relative size since we can't know how long they will be.
This commit is contained in:
parent
b029c17c91
commit
32ce8884ba
1 changed files with 1 additions and 1 deletions
|
@ -1018,7 +1018,7 @@ available_columns = {
|
|||
role = {
|
||||
title = "Role";
|
||||
description = "Session role with 'prosody:' prefix removed";
|
||||
width = #"admin";
|
||||
width = "1p";
|
||||
key = "role";
|
||||
mapper = function(role)
|
||||
local name = role and role.name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue