mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
renaming
This commit is contained in:
@@ -30,7 +30,7 @@ const styles = {
|
|||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
repository: Repository,
|
repository: Repository,
|
||||||
full?: boolean,
|
fullColumnWidth?: boolean,
|
||||||
// context props
|
// context props
|
||||||
classes: any
|
classes: any
|
||||||
};
|
};
|
||||||
@@ -77,9 +77,9 @@ class RepositoryEntry extends React.Component<Props> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { repository, classes, full } = this.props;
|
const { repository, classes, fullColumnWidth } = this.props;
|
||||||
const repositoryLink = this.createLink(repository);
|
const repositoryLink = this.createLink(repository);
|
||||||
const halfColumn = full ? "is-full" : "is-half";
|
const halfColumn = fullColumnWidth ? "is-full" : "is-half";
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
|
|||||||
@@ -66,9 +66,9 @@ class RepositoryGroupEntry extends React.Component<Props, State> {
|
|||||||
let content = null;
|
let content = null;
|
||||||
if (!collapsed) {
|
if (!collapsed) {
|
||||||
content = group.repositories.map((repository, index) => {
|
content = group.repositories.map((repository, index) => {
|
||||||
const full = this.isFullSize(group.repositories, index);
|
const fullColumnWidth = this.isFullSize(group.repositories, index);
|
||||||
return (
|
return (
|
||||||
<RepositoryEntry repository={repository} full={full} key={index} />
|
<RepositoryEntry repository={repository} fullColumnWidth={fullColumnWidth} key={index} />
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user