UX: ignore trust level setting for staff accounts (#82)

This commit is contained in:
Kris 2024-03-26 09:48:08 -04:00 committed by GitHub
parent 03dca85fc3
commit 104dce0440
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export default {
const minimumTL = settings.minimum_trust_level_to_create_TOC;
if (currentUser.trust_level >= minimumTL) {
if (currentUser.trust_level >= minimumTL || currentUser.staff) {
if (!I18n.translations[I18n.currentLocale()].js.composer) {
I18n.translations[I18n.currentLocale()].js.composer = {};
}