merge with develop branch

This commit is contained in:
Sebastian Sdorra
2020-06-16 19:39:27 +02:00
29 changed files with 1804 additions and 133 deletions

View File

@@ -92,7 +92,7 @@ export const SingleContributor: FC<PersonProps> = ({ person, className, displayT
};
type PersonsProps = {
persons: Person[];
persons: ReadonlyArray<Person>;
label: string;
displayTextOnly?: boolean;
};
@@ -133,7 +133,7 @@ const Contributors: FC<PersonsProps> = ({ persons, label, displayTextOnly }) =>
}
};
const emptyListOfContributors: Person[] = [];
const emptyListOfContributors: ReadonlyArray<Person> = [];
const ChangesetAuthor: FC<Props> = ({ changeset }) => {
const binder = useBinder();
@@ -173,7 +173,7 @@ const ChangesetAuthor: FC<Props> = ({ changeset }) => {
// extensions
const extensions = binder.getExtensions("changesets.author.suffix", { changeset });
if (extensions) {
coAuthors.push(...extensions);
authorLine.push(...extensions);
}
return <CommaSeparatedList>{authorLine}</CommaSeparatedList>;