corrected RepositoryRole paths

This commit is contained in:
Florian Scholdei
2019-06-20 15:41:10 +02:00
parent 9bcc73938e
commit db351697f8
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ type Props = {
class CreateRepositoryRole extends React.Component<Props> {
repositoryRoleCreated = (role: RepositoryRole) => {
const { history } = this.props;
history.push("/config/role/" + role.name + "/info");
history.push("/admin/role/" + role.name + "/info");
};
createRepositoryRole = (role: RepositoryRole) => {

View File

@@ -35,7 +35,7 @@ class DeleteRepositoryRole extends React.Component<Props> {
};
roleDeleted = () => {
this.props.history.push("/config/roles/");
this.props.history.push("/admin/roles/");
};
deleteRole = () => {

View File

@@ -29,7 +29,7 @@ type Props = {
class EditRepositoryRole extends React.Component<Props> {
repositoryRoleUpdated = () => {
this.props.history.push("/config/roles/");
this.props.history.push("/admin/roles/");
};
updateRepositoryRole = (role: RepositoryRole) => {