mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 11:35:57 +01:00
Rename ChangesetTable -> ChangesetList
This commit is contained in:
@@ -9,7 +9,7 @@ type Props = {
|
||||
changesets: Changeset[]
|
||||
};
|
||||
|
||||
class ChangesetTable extends React.Component<Props> {
|
||||
class ChangesetList extends React.Component<Props> {
|
||||
render() {
|
||||
const { repository, changesets } = this.props;
|
||||
const content = changesets.map((changeset, index) => {
|
||||
@@ -19,4 +19,4 @@ class ChangesetTable extends React.Component<Props> {
|
||||
}
|
||||
}
|
||||
|
||||
export default ChangesetTable;
|
||||
export default ChangesetList;
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
getBranchNames
|
||||
} from "../../repos/modules/branches";
|
||||
import type { PagedCollection, Repository } from "@scm-manager/ui-types";
|
||||
import ChangesetTable from "../components/ChangesetTable";
|
||||
import ChangesetList from "../components/ChangesetList";
|
||||
import DropDown from "../components/DropDown";
|
||||
import { withRouter } from "react-router-dom";
|
||||
|
||||
@@ -43,8 +43,7 @@ class Changesets extends React.Component<State, Props> {
|
||||
this.state = {};
|
||||
}
|
||||
|
||||
onPageChange = (link: string) => {
|
||||
};
|
||||
onPageChange = (link: string) => {};
|
||||
componentDidMount() {
|
||||
const { namespace, name } = this.props.repository;
|
||||
const branchName = this.props.match.params.branch;
|
||||
@@ -88,12 +87,12 @@ class Changesets extends React.Component<State, Props> {
|
||||
preselectedOption={branch}
|
||||
optionSelected={branch => this.branchChanged(branch)}
|
||||
/>
|
||||
<ChangesetTable repository={repository} changesets={changesets} />
|
||||
<ChangesetList repository={repository} changesets={changesets} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return <ChangesetTable changesets={changesets} />;
|
||||
return <ChangesetList changesets={changesets} />;
|
||||
};
|
||||
|
||||
renderPaginator() {
|
||||
|
||||
Reference in New Issue
Block a user