File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
content/docs/waf/change-log Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const props = z
2222 .and (
2323 z .object ({
2424 hideEntry: z .string ().optional (),
25- scheduledOnly : z .boolean ().default (false ),
25+ scheduled : z .boolean ().default (false ),
2626 }),
2727 );
2828
@@ -39,7 +39,7 @@ if ("product" in input) {
3939 ! e .data .hidden &&
4040 e .data .products .some (({ id }) => id === input .product .id ) &&
4141 input .hideEntry !== e .id &&
42- ( ! input .scheduledOnly || e .data .scheduled )
42+ input .scheduled === e .data .scheduled
4343 );
4444 };
4545} else {
@@ -59,6 +59,8 @@ const changelogs = await getChangelogs({ filter });
5959
6060<RSSButton href ={ rss } />
6161
62+ { changelogs .length === 0 && <p >There are no scheduled entries at this time.</p >}
63+
6264{
6365 changelogs .map (async (entry ) => {
6466 const { Content } = await render (entry );
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ tableOfContents: false
77
88import { ProductChangelog } from " ~/components" ;
99
10- <ProductChangelog product = " waf" scheduledOnly />
10+ <ProductChangelog product = " waf" scheduled />
1111
1212For other WAF updates, refer to the [ changelog] ( /changelog/?product=waf ) .
You can’t perform that action at this time.
0 commit comments