mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
Fix display of contributor table (#1718)
Fixes the display of the contributors table in the changeset details view.
This commit is contained in:
@@ -69,8 +69,7 @@ const ContributorTable: FC<Props> = ({ changeset }) => {
|
||||
if (!changeset.contributors) {
|
||||
return [];
|
||||
}
|
||||
// @ts-ignore
|
||||
return [...new Set(changeset.contributors.map(contributor => contributor.type))];
|
||||
return new Set(changeset.contributors.map(contributor => contributor.type));
|
||||
};
|
||||
|
||||
const getPersonsByContributorType = (type: string) => {
|
||||
|
||||
Reference in New Issue
Block a user