mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: eliminate some slow CSS selectors (#25392)
This commit is contained in:
@@ -240,11 +240,16 @@
|
||||
{{/if}}
|
||||
|
||||
<div
|
||||
class="directory-table__cell user-role{{if
|
||||
(or user.admin user.moderator user.second_factor_enabled)
|
||||
''
|
||||
'--empty'
|
||||
}}"
|
||||
class={{concat-class
|
||||
"directory-table__cell"
|
||||
"user-role"
|
||||
(if
|
||||
(not
|
||||
(or user.admin user.moderator user.second_factor_enabled)
|
||||
)
|
||||
"--empty"
|
||||
)
|
||||
}}
|
||||
>
|
||||
<span class="directory-table__label">
|
||||
<span>{{i18n "admin.users.status"}}</span>
|
||||
|
||||
Reference in New Issue
Block a user