From bb436e74475c5aaa6eb28082999fe8cb107da91f Mon Sep 17 00:00:00 2001 From: Lukas Siatka Date: Thu, 7 May 2020 15:06:48 +0200 Subject: [PATCH] Chore: fixes PermissionListItem strict-null-error (#24389) --- .../app/core/components/PermissionList/PermissionListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/PermissionList/PermissionListItem.tsx b/public/app/core/components/PermissionList/PermissionListItem.tsx index 753ee0f3ca5..c8ee55b2917 100644 --- a/public/app/core/components/PermissionList/PermissionListItem.tsx +++ b/public/app/core/components/PermissionList/PermissionListItem.tsx @@ -42,7 +42,7 @@ interface Props { export default class PermissionsListItem extends PureComponent { onPermissionChanged = (option: SelectableValue) => { - this.props.onPermissionChanged(this.props.item, option!.value); + this.props.onPermissionChanged(this.props.item, option.value!); }; onRemoveItem = () => {