summaryrefslogtreecommitdiff
path: root/apps/web/src/app/changelog/components
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-03-29 14:10:57 +0200
committerMaze Winther <mazewinther@gmail.com>2026-03-29 15:58:46 +0200
commit585e28d49b853155c34a3eba03388722e2049cb7 (patch)
tree92efed21fe58b812de7c7f83dc373d9594e1734c /apps/web/src/app/changelog/components
parent1261e663e1bbb950e4efc8927ca4b068e0946bae (diff)
downloadopencut-585e28d49b853155c34a3eba03388722e2049cb7.tar.gz
feat: add published status to changelog entries
Diffstat (limited to 'apps/web/src/app/changelog/components')
-rw-r--r--apps/web/src/app/changelog/components/copy-markdown-button.tsx2
-rw-r--r--apps/web/src/app/changelog/components/release.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/app/changelog/components/copy-markdown-button.tsx b/apps/web/src/app/changelog/components/copy-markdown-button.tsx
index edb920f5..7ea18b2a 100644
--- a/apps/web/src/app/changelog/components/copy-markdown-button.tsx
+++ b/apps/web/src/app/changelog/components/copy-markdown-button.tsx
@@ -23,7 +23,7 @@ function buildMarkdown({
const { grouped, orderedTypes } = groupAndOrderChanges({ changes });
for (const type of orderedTypes) {
- lines.push(`## ${getSectionTitle(type)}`);
+ lines.push(`## ${getSectionTitle({ type })}`);
for (const change of grouped[type]) {
lines.push(`- ${change.text}`);
}
diff --git a/apps/web/src/app/changelog/components/release.tsx b/apps/web/src/app/changelog/components/release.tsx
index 2226c321..10dcf561 100644
--- a/apps/web/src/app/changelog/components/release.tsx
+++ b/apps/web/src/app/changelog/components/release.tsx
@@ -87,7 +87,7 @@ export function ReleaseChanges({ release }: { release: Release }) {
{orderedTypes.map((type) => (
<div key={type} className="flex flex-col gap-1.5">
<h3 className="text-base font-semibold text-foreground">
- {getSectionTitle(type)}:
+ {getSectionTitle({ type })}:
</h3>
<ul className="list-disc pl-5 space-y-1.5">
{grouped[type].map((change) => (