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
Reset custom power selector when blurred on empty (#9508)
This commit is contained in:
committed by
GitHub
parent
7692533e18
commit
ee61994c05
@@ -16,7 +16,7 @@ limitations under the License.
|
||||
|
||||
import { _t } from './languageHandler';
|
||||
|
||||
export function levelRoleMap(usersDefault: number) {
|
||||
export function levelRoleMap(usersDefault: number): Record<number | "undefined", string> {
|
||||
return {
|
||||
undefined: _t('Default'),
|
||||
0: _t('Restricted'),
|
||||
|
Reference in New Issue
Block a user