Skip to content

Commit 79312ed

Browse files
Merge branch 'feat-lead-mapping-new' of github.com:tekdi/pratham2.0 into feat-lead-mapping-new
2 parents c24b019 + cd3257d commit 79312ed

File tree

1 file changed

+3
-1
lines changed
  • mfes/workspace/src/pages/workspace/content/allContents

1 file changed

+3
-1
lines changed

mfes/workspace/src/pages/workspace/content/allContents/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ const AllContentsPage = () => {
292292
]);
293293

294294
useEffect(() => {
295+
console.log('contentList=======>', contentList);
295296
const filteredArray = contentList.map((item: any) => ({
296297
image: item?.appIcon,
297298
contentType: item.primaryCategory,
@@ -301,7 +302,8 @@ const AllContentsPage = () => {
301302
englishName: item?.englishName,
302303
primaryCategory: item.primaryCategory,
303304
lastUpdatedOn: timeAgo(item.lastUpdatedOn),
304-
lastUpdatedBy: item.lastUpdatedBy,
305+
lastUpdatedBy: item.lastUpdatedBy || item.createdBy,
306+
lastPublishedBy: item.lastPublishedBy || item.createdBy,
305307
status: item.status,
306308
identifier: item.identifier,
307309
mimeType: item.mimeType,

0 commit comments

Comments
 (0)