mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
create EditRepoRoles
This commit is contained in:
@@ -49,6 +49,9 @@ class RepositoryRoleForm extends React.Component<Props, State> {
|
||||
componentDidMount() {
|
||||
const { fetchAvailableVerbs, verbsLink} = this.props;
|
||||
fetchAvailableVerbs(verbsLink);
|
||||
if (this.props.role) {
|
||||
this.setState({role: this.props.role})
|
||||
}
|
||||
}
|
||||
|
||||
isFalsy(value) {
|
||||
|
||||
Reference in New Issue
Block a user