diff --git a/components/use-cases/engineers/ExploreBlueprints.vue b/components/use-cases/engineers/ExploreBlueprints.vue
index 39c407a4f2..57b9bd26ff 100644
--- a/components/use-cases/engineers/ExploreBlueprints.vue
+++ b/components/use-cases/engineers/ExploreBlueprints.vue
@@ -34,13 +34,13 @@
const config = useRuntimeConfig();
const blueprints = ref([])
const props = defineProps({
- query: {
+ tag: {
type: String,
- required: true
- },
+ required: false
+ }
})
const { data: blueprintsData } = await useAsyncData('blueprints', () => {
- return $fetch(`${config.public.apiUrl}/blueprints?type=${props.query}`)
+ return $fetch(`${config.public.apiUrl}/blueprints?tags=${props.tag}`)
});
const {data: tags} = await useAsyncData('blueprints-tags', () => {
return $fetch(`${config.public.apiUrl}/blueprints/tags`)
@@ -48,7 +48,7 @@
const generateCardHref =async (blueprint) => {
let tag = await tags.value.find(f => f?.id == blueprint.tags[0]);
if (!tag || !tag.name) {
- return `/blueprints/unknown/${blueprint.id}-${slugify(blueprint.title)}`;
+ return `/blueprints/unknown/${blueprint.id}-${slugify(blueprint.title)}`;
}
return `/blueprints/${tag.name?.replace(' ', '-')}/${blueprint.id}-${slugify(blueprint.title)}`
}
diff --git a/pages/use-cases/data-engineers.vue b/pages/use-cases/data-engineers.vue
index 34dd07dc48..857223eec1 100644
--- a/pages/use-cases/data-engineers.vue
+++ b/pages/use-cases/data-engineers.vue
@@ -18,7 +18,7 @@
/>
-
+
-
+
-
+