Skip to content

Commit d27c4b4

Browse files
committed
refactor(content_management): adjust Topics page layout
- Remove status column from topics table - Change last updated column size from M to S - Remove fixed width from actions column
1 parent 215b630 commit d27c4b4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/content_management/view/topics_page.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,13 @@ class _TopicPageState extends State<TopicPage> {
7272
label: Text(l10n.topicName),
7373
size: ColumnSize.L,
7474
),
75-
DataColumn2(label: Text(l10n.status), size: ColumnSize.S),
7675
DataColumn2(
7776
label: Text(l10n.lastUpdated),
78-
size: ColumnSize.M,
77+
size: ColumnSize.S,
7978
),
8079
DataColumn2(
8180
label: Text(l10n.actions),
8281
size: ColumnSize.S,
83-
fixedWidth: 120,
8482
),
8583
],
8684
source: _TopicsDataSource(
@@ -158,7 +156,6 @@ class _TopicsDataSource extends DataTableSource {
158156
overflow: TextOverflow.ellipsis,
159157
),
160158
),
161-
DataCell(Text(topic.status.l10n(context))),
162159
DataCell(
163160
Text(
164161
// TODO(fulleni): Make date format configurable by admin.

0 commit comments

Comments
 (0)