diff --git a/gradle/changelog/contributors_table.yaml b/gradle/changelog/contributors_table.yaml new file mode 100644 index 0000000000..c662abf9ba --- /dev/null +++ b/gradle/changelog/contributors_table.yaml @@ -0,0 +1,2 @@ +- type: Fixed + description: Contributors table in changeset detail view ([#1718](https://github.com/scm-manager/scm-manager/pull/1718)) diff --git a/scm-ui/ui-webapp/src/repos/components/changesets/ContributorTable.tsx b/scm-ui/ui-webapp/src/repos/components/changesets/ContributorTable.tsx index 2aee44c3be..19c9102065 100644 --- a/scm-ui/ui-webapp/src/repos/components/changesets/ContributorTable.tsx +++ b/scm-ui/ui-webapp/src/repos/components/changesets/ContributorTable.tsx @@ -69,8 +69,7 @@ const ContributorTable: FC = ({ 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) => {