mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
merge with develop branch
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user