File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/projects/list/components/Projects Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,8 @@ const ProjectsGridView = props => {
4040 sortable : false ,
4141 renderText : item => {
4242 const url = `/projects/${ item . id } `
43- const recentlyCreated = moment ( ) . diff ( item . createdAt , 'seconds' ) < 3600
4443 return (
4544 < Link to = { url } className = "spacing" >
46- { recentlyCreated && < span className = "blue-border" /> }
4745 { item . id }
4846 </ Link >
4947 )
@@ -81,9 +79,10 @@ const ProjectsGridView = props => {
8179 // project notifications
8280 const notReadNotifications = filterReadNotifications ( notifications )
8381 const unreadProjectUpdate = filterNotificationsByProjectId ( notReadNotifications , item . id )
82+ const recentlyCreated = moment ( ) . diff ( item . createdAt , 'seconds' ) < 3600
8483 return (
8584 < div className = "spacing project-container" >
86- { unreadProjectUpdate . length > 0 && < span className = "blue-border" /> }
85+ { ( recentlyCreated || unreadProjectUpdate . length > 0 ) && < span className = "blue-border" /> }
8786 < div className = "project-title" >
8887 < Link to = { url } className = "link-title" > { _ . unescape ( item . name ) } </ Link >
8988 { code && < span className = "item-ref-code txt-gray-md" onClick = { ( ) => { applyFilters ( { keyword : code } ) } } dangerouslySetInnerHTML = { { __html : code } } /> }
You can’t perform that action at this time.
0 commit comments