Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/homepage/middlewares/homepage-populate.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const populate = {
},
},
'ui.artikelen-overzicht': {
fields: ['title'],
fields: ['title', 'description'],
},
},
},
Expand Down
7 changes: 6 additions & 1 deletion src/components/ui/artikelen-overzicht.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
"collectionName": "components_ui_artikelen_overzichts",
"info": {
"displayName": "Artikelen overzicht",
"icon": "book"
"icon": "book",
"description": ""
},
"options": {},
"attributes": {
"title": {
"type": "string",
"required": true
},
"description": {
"type": "text",
"required": true
}
}
}
2 changes: 2 additions & 0 deletions types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ export interface UiArtikelen extends Struct.ComponentSchema {
export interface UiArtikelenOverzicht extends Struct.ComponentSchema {
collectionName: 'components_ui_artikelen_overzichts';
info: {
description: '';
displayName: 'Artikelen overzicht';
icon: 'book';
};
attributes: {
description: Schema.Attribute.Text & Schema.Attribute.Required;
title: Schema.Attribute.String & Schema.Attribute.Required;
};
}
Expand Down