1
0
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:
Michael Telatynski
2022-10-26 17:14:33 +01:00
committed by GitHub
parent 7692533e18
commit ee61994c05
3 changed files with 70 additions and 5 deletions

View File

@@ -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'),