You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Apply prettier formatting
This commit is contained in:
12
src/Roles.ts
12
src/Roles.ts
@@ -14,15 +14,15 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { _t } from './languageHandler';
|
||||
import { _t } from "./languageHandler";
|
||||
|
||||
export function levelRoleMap(usersDefault: number): Record<number | "undefined", string> {
|
||||
return {
|
||||
undefined: _t('Default'),
|
||||
0: _t('Restricted'),
|
||||
[usersDefault]: _t('Default'),
|
||||
50: _t('Moderator'),
|
||||
100: _t('Admin'),
|
||||
undefined: _t("Default"),
|
||||
0: _t("Restricted"),
|
||||
[usersDefault]: _t("Default"),
|
||||
50: _t("Moderator"),
|
||||
100: _t("Admin"),
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user