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 8991c95 commit 4b44439Copy full SHA for 4b44439
src/pages/changelog/index.astro
@@ -89,7 +89,7 @@ const props = {
89
<div class="flex items-center justify-center">
90
<button
91
id="changelogs-next-button"
92
- class="bg-cl1-brand-orange text-cl1-black h-12 cursor-pointer rounded px-6 font-medium"
+ class="h-12 cursor-pointer rounded bg-cl1-brand-orange px-6 font-medium text-cl1-black"
93
>
94
Load more items
95
</button>
@@ -114,8 +114,8 @@ const props = {
114
115
filter?.addEventListener("change", updateFilter);
116
117
- function filterByProduct(e: HTMLElement, value: string): boolean {
118
- if (value === "all") {
+ function filterByProduct(e: HTMLElement, value?: string): boolean {
+ if (!value || value === "all") {
119
return true;
120
}
121
0 commit comments