Skip to content

Commit fc28cd2

Browse files
authored
Merge branch 'LordNayan:main' into main
2 parents 707bde6 + 21719d5 commit fc28cd2

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

apps/web/src/pages/admin/AdminChangelogPage.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export function AdminChangelogPage() {
238238
<p className="of-text-gray-600 of-mb-4">
239239
Keep your users informed about what’s new and improved.
240240
</p>
241-
<Button onClick={() => setShowCreateModal(true)}>New Entry</Button>
241+
<Button onClick={openCreateModal}>New Entry</Button>
242242
</div>
243243
) : (
244244
<div className="of-overflow-x-auto">
@@ -294,7 +294,7 @@ export function AdminChangelogPage() {
294294
<td className="of-px-6 of-py-4 of-whitespace-nowrap of-text-sm of-text-gray-500">
295295
<div className="of-flex of-flex-wrap of-gap-1">
296296
{entry.types.map((type) => (
297-
<Badge key={type} variant="default" size="xs">
297+
<Badge key={type} variant="default" size="sm">
298298
{type}
299299
</Badge>
300300
))}
@@ -304,7 +304,7 @@ export function AdminChangelogPage() {
304304
<td className="of-px-6 of-py-4 of-whitespace-nowrap of-text-sm of-text-gray-500">
305305
<div className="of-flex of-flex-wrap of-gap-1">
306306
{entry.labels.map((label) => (
307-
<Badge key={label.id} variant="outline" size="xs">
307+
<Badge key={label.id} variant="default" size="sm">
308308
{label.name}
309309
</Badge>
310310
))}
@@ -464,15 +464,15 @@ export function AdminChangelogPage() {
464464
<div className="of-space-y-4">
465465
<div className="of-flex of-flex-wrap of-gap-2">
466466
{selectedEntry.types.map((type) => (
467-
<Badge key={type} variant="default" size="xs">
468-
{type}
469-
</Badge>
470-
))}
467+
<Badge key={type} variant="default" size="sm">
468+
{type}
469+
</Badge>
470+
))}
471471
{selectedEntry.labels.map((label) => (
472-
<Badge key={label.id} variant="outline" size="xs">
473-
{label.name}
474-
</Badge>
475-
))}
472+
<Badge key={label.id} variant="default" size="sm">
473+
{label.name}
474+
</Badge>
475+
))}
476476
</div>
477477

478478
<div className="of-text-sm of-text-gray-500 of-space-x-4">

0 commit comments

Comments
 (0)