Skip to content

Commit 6539798

Browse files
simisonmatticbot
authored andcommitted
Forms: Update read/unread status column style to match old dashboard (#46566)
Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/20961998496 Upstream-Ref: Automattic/jetpack@14c4272
1 parent af63f51 commit 6539798

File tree

6 files changed

+143
-137
lines changed

6 files changed

+143
-137
lines changed

jetpack_vendor/automattic/jetpack-forms/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This is an alpha version! The changes listed here are not final.
1515

1616
### Changed
1717
- Update package dependencies.
18+
- Update read/unread status column style to match old dashboard.
1819

1920
### Removed
2021
- Forms: clean up all dashboard migration code (filters, methods and wrapped up code)

jetpack_vendor/automattic/jetpack-forms/routes/responses/stage.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,13 @@ function Stage() {
374374
],
375375
filterBy: { operators: [ 'is' ] },
376376
enableSorting: false,
377-
render: ( { item } ) =>
378-
item.is_unread ? __( 'Unread', 'jetpack-forms' ) : __( 'Read', 'jetpack-forms' ),
377+
render: ( { item } ) => {
378+
return (
379+
<Badge intent="default">
380+
{ item.is_unread ? __( 'Unread', 'jetpack-forms' ) : __( 'Read', 'jetpack-forms' ) }
381+
</Badge>
382+
);
383+
},
379384
},
380385
{
381386
id: 'ip',

jetpack_vendor/i18n-map.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
),
6767
'jetpack-forms' => array(
6868
'path' => 'jetpack_vendor/automattic/jetpack-forms',
69-
'ver' => '7.4.0-alpha1768317416',
69+
'ver' => '7.4.0-alpha1768317432',
7070
),
7171
'jetpack-image-cdn' => array(
7272
'path' => 'jetpack_vendor/automattic/jetpack-image-cdn',

0 commit comments

Comments
 (0)