Skip to content

Commit 1abe032

Browse files
committed
[Blog] edit
1 parent c6961e2 commit 1abe032

5 files changed

+8
-1
lines changed

Blog/blog/2024-08-08-graphql-admin-dashboard-with-loco-seaography.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ export const dataProvider: DataProvider = {
148148
nodes {
149149
id
150150
title
151-
content
151+
createdAt
152+
updatedAt
152153
}
153154
paginationInfo {
154155
pages
@@ -182,6 +183,8 @@ export const dataProvider: DataProvider = {
182183
id
183184
title
184185
content
186+
createdAt
187+
updatedAt
185188
}
186189
}
187190
}
@@ -238,6 +241,8 @@ const PostList = () => (
238241
<TextField source="id" />
239242
<TextField source="title" />
240243
<TextField source="content" />
244+
<TextField source="createdAt" />
245+
<TextField source="updatedAt" />
241246
</Datagrid>
242247
</List>
243248
);
@@ -248,6 +253,8 @@ const PostShow = () => (
248253
<TextField source="id" />
249254
<TextField source="title" />
250255
<TextField source="content" />
256+
<TextField source="createdAt" />
257+
<TextField source="updatedAt" />
251258
</SimpleShowLayout>
252259
</Show>
253260
);
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)