mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
implement modify for type
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
fetchPermissions,
|
||||
getFetchPermissionsFailure,
|
||||
isFetchPermissionsPending,
|
||||
getPermissionsOfRepo
|
||||
getPermissionsOfRepo,
|
||||
} from "../modules/permissions";
|
||||
import Loading from "../../components/Loading";
|
||||
import ErrorPage from "../../components/ErrorPage";
|
||||
@@ -52,7 +52,13 @@ class Permissions extends React.Component<Props> {
|
||||
}
|
||||
|
||||
if (permissions.length > 0)
|
||||
return <PermissionsTable permissions={permissions} namespace={namespace} name={name} />;
|
||||
return (
|
||||
<PermissionsTable
|
||||
permissions={permissions}
|
||||
namespace={namespace}
|
||||
name={name}
|
||||
/>
|
||||
);
|
||||
|
||||
return <div />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user