use a new permission array since state think it stays the same if splice is used

This commit is contained in:
Maren Süwer
2018-09-03 15:45:34 +02:00
parent 0f78ce9d3a
commit 8362752370
3 changed files with 17 additions and 12 deletions

View File

@@ -159,7 +159,6 @@ class SinglePermission extends React.Component<Props, State> {
const mapStateToProps = (state, ownProps) => {
const permission = ownProps.permission;
console.log(permission);
const loading = isModifyPermissionPending(
state,
ownProps.namespace,