mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +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:
2
gradle/changelog/contributors_table.yaml
Normal file
2
gradle/changelog/contributors_table.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
- type: Fixed
|
||||
description: Contributors table in changeset detail view ([#1718](https://github.com/scm-manager/scm-manager/pull/1718))
|
||||
@@ -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