Chore: fixes PermissionListItem strict-null-error (#24389)
This commit is contained in:
@@ -42,7 +42,7 @@ interface Props {
|
|||||||
|
|
||||||
export default class PermissionsListItem extends PureComponent<Props> {
|
export default class PermissionsListItem extends PureComponent<Props> {
|
||||||
onPermissionChanged = (option: SelectableValue<PermissionLevel>) => {
|
onPermissionChanged = (option: SelectableValue<PermissionLevel>) => {
|
||||||
this.props.onPermissionChanged(this.props.item, option!.value);
|
this.props.onPermissionChanged(this.props.item, option.value!);
|
||||||
};
|
};
|
||||||
|
|
||||||
onRemoveItem = () => {
|
onRemoveItem = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user