File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
mfes/workspace/src/pages/workspace/content/allContents Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments