mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-12 07:10:20 +01:00
corrected RepositoryRole paths
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -35,7 +35,7 @@ class DeleteRepositoryRole extends React.Component<Props> {
|
||||
};
|
||||
|
||||
roleDeleted = () => {
|
||||
this.props.history.push("/config/roles/");
|
||||
this.props.history.push("/admin/roles/");
|
||||
};
|
||||
|
||||
deleteRole = () => {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user