We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a23cc3b commit 475a084Copy full SHA for 475a084
src/components/ProductChangelog.astro
@@ -22,7 +22,7 @@ let rss: string;
22
if ("product" in input) {
23
rss = `/changelog/rss/${input.product.id}.xml`;
24
filter = (e) => {
25
- return e.data.products.some(({ id }) => id === input.product.id);
+ return !e.data.hidden && e.data.products.some(({ id }) => id === input.product.id);
26
};
27
} else {
28
rss = `/changelog/rss/${slug(input.area)}.xml`;
@@ -33,7 +33,6 @@ if ("product" in input) {
33
return e.data.products.some((x) => products.some((y) => x.id === y.id));
34
35
}
36
-console.log(rss)
37
const changelogs = await getChangelogs({ filter });
38
---
39
0 commit comments