mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
use repository instead of namespace and name
This commit is contained in:
@@ -5,7 +5,6 @@ import { withRouter } from "react-router-dom";
|
||||
import type { Changeset, Repository } from "@scm-manager/ui-types";
|
||||
import {
|
||||
fetchChangesetIfNeeded,
|
||||
fetchChangesetReset,
|
||||
getChangeset,
|
||||
getFetchChangesetFailure,
|
||||
isFetchChangesetPending
|
||||
@@ -52,7 +51,7 @@ class ChangesetView extends React.Component<Props> {
|
||||
|
||||
if (!changeset || loading) return <Loading />;
|
||||
|
||||
return <ChangesetDetails changeset={changeset} repository={repository}/>;
|
||||
return <ChangesetDetails changeset={changeset} repository={repository} />;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,9 +72,6 @@ const mapDispatchToProps = dispatch => {
|
||||
id: string
|
||||
) => {
|
||||
dispatch(fetchChangesetIfNeeded(namespace, repoName, id));
|
||||
},
|
||||
resetForm: (namespace: string, repoName: string, id: string) => {
|
||||
dispatch(fetchChangesetReset(namespace, repoName, id));
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user