mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 01:15:44 +01:00
change type to category
This commit is contained in:
@@ -6,7 +6,7 @@ export default function groupByCategory(
|
|||||||
): PluginGroup[] {
|
): PluginGroup[] {
|
||||||
let groups = {};
|
let groups = {};
|
||||||
for (let plugin of plugins) {
|
for (let plugin of plugins) {
|
||||||
const groupName = plugin.type;
|
const groupName = plugin.category;
|
||||||
|
|
||||||
let group = groups[groupName];
|
let group = groups[groupName];
|
||||||
if (!group) {
|
if (!group) {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import lombok.Setter;
|
|||||||
public class PluginDto extends HalRepresentation {
|
public class PluginDto extends HalRepresentation {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
private String type;
|
private String category;
|
||||||
private String version;
|
private String version;
|
||||||
private String author;
|
private String author;
|
||||||
private String description;
|
private String description;
|
||||||
|
|||||||
Reference in New Issue
Block a user