Chore: fixes PermissionListItem strict-null-error (#24389)

This commit is contained in:
Lukas Siatka
2020-05-07 15:06:48 +02:00
committed by GitHub
parent 43f33dddb4
commit bb436e7447

View File

@@ -42,7 +42,7 @@ interface Props {
export default class PermissionsListItem extends PureComponent<Props> {
onPermissionChanged = (option: SelectableValue<PermissionLevel>) => {
this.props.onPermissionChanged(this.props.item, option!.value);
this.props.onPermissionChanged(this.props.item, option.value!);
};
onRemoveItem = () => {