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