Skip to content
Snippets Groups Projects
Commit adb7b0c8 authored by René Rösner's avatar René Rösner
Browse files

Feat: Added missing filters (planning#423)

parent 09a57d47
No related branches found
No related tags found
1 merge request!13Entwicklungsportal: MVP Follow Up
{
"filter": [
{
"label": "Art der Ressource",
"id": "type",
"options": [{
"label": "Plattformen",
"id": "platform",
"value": "platform"
},{
"label": "Basisdienste",
"id": "base",
"value": "base"
},{
"label": "Software",
"id": "software",
"value": "software"
},{
"label": "APIs",
"id": "api",
"value": "api"
}]
"label": "Art der Ressource",
"id": "type",
"options": [{
"label": "Plattformen",
"id": "platform",
"value": "platform"
},{
"label": "Basisdienste",
"id": "base",
"value": "base"
},{
"label": "Software",
"id": "software",
"value": "software"
},{
"label": "APIs",
"id": "api",
"value": "api"
},{
"label": "Information / Hilfestellung",
"id": "Information / Hilfestellung",
"value": "Information / Hilfestellung"
},{
"label": "Kollaboration",
"id": "Kollaboration",
"value": "Kollaboration"
},{
"label": "Vorgabe / Richtlinie",
"id": "Vorgabe / Richtlinie",
"value": "Vorgabe / Richtlinie"
}]
},
{
"label": "Status",
"id": "status",
"options": [{
"label": "Produktiv",
"id": "production",
"value": "production"
},
{
"label": "In Entwicklung",
"id": "development",
"value": "development"
},
{
"label": "Alpha",
"id": "alpha",
"value": "alpha"
},
{
"label": "Beta",
"id": "beta",
"value": "beta"
}]
"label": "Status",
"id": "status",
"options": [{
"label": "Produktiv",
"id": "production",
"value": "production"
},
{
"label": "In Entwicklung",
"id": "development",
"value": "development"
},
{
"label": "Eingestellt",
"id": "discontinued",
"value": "discontinued"
},
{
"label": "Beta",
"id": "beta",
"value": "beta"
}]
}
]
}
\ No newline at end of file
......@@ -46,7 +46,6 @@ export async function fetchService(slug): Promise<Entry<any>> {
const services = await client.getEntries({
content_type: 'service',
})
return services.items.find(
(service: Entry<ServiceType>) => service.fields.slug === slug
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment