mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
8 lines
246 B
JavaScript
8 lines
246 B
JavaScript
import { formatGraphQLGroups } from '~/vue_shared/components/groups_list/formatter';
|
|
|
|
export const formatGroups = (groups) =>
|
|
formatGraphQLGroups(groups, (group) => ({
|
|
editPath: `${group.webUrl}/-/edit`,
|
|
avatarLabel: group.name,
|
|
}));
|