From feef7d49e95d7819265c77c945b0efc6d9a53ac0 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 25 May 2017 16:55:24 +0100 Subject: [PATCH] More tabs --- src/Roles.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Roles.js b/src/Roles.js index 5af8be76df..cdfc156423 100644 --- a/src/Roles.js +++ b/src/Roles.js @@ -16,8 +16,8 @@ limitations under the License. import { _t } from './languageHandler'; export function levelRoleMap() { - const LEVEL_ROLE_MAP = {}; - LEVEL_ROLE_MAP[undefined] = _t('Default'); + const LEVEL_ROLE_MAP = {}; + LEVEL_ROLE_MAP[undefined] = _t('Default'); LEVEL_ROLE_MAP[0] = _t('User'); LEVEL_ROLE_MAP[50] = _t('Moderator'); LEVEL_ROLE_MAP[100] = _t('Admin'); @@ -25,7 +25,7 @@ export function levelRoleMap() { } export function textualPowerLevel(level, userDefault) { - const LEVEL_ROLE_MAP = this.levelRoleMap(); + const LEVEL_ROLE_MAP = this.levelRoleMap(); if (LEVEL_ROLE_MAP[level]) { return LEVEL_ROLE_MAP[level] + (level !== undefined ? ` (${level})` : ` (${userDefault})`); } else {