@@ -70,6 +70,9 @@ export default function AdvisoriesList(props) {
7070 onKeyDown = { ( keyEvent ) => handleClick ( advisory , keyEvent ) } >
7171
7272 { showLoader ? < Skeleton width = { 320 } height = { 40 } /> : advisory . title }
73+ { trackedAdvisories [ advisory . id ] ?. highlight &&
74+ < div className = "updated-pill" > Updated</ div >
75+ }
7376 </ div >
7477
7578 { showLoader ?
@@ -78,9 +81,6 @@ export default function AdvisoriesList(props) {
7881 < div className = "timestamp-container" >
7982 < span className = "advisory-li-state" > { advisory . last_notified_at != advisory . first_published_at ? "Updated" : "Published" } </ span >
8083 < FriendlyTime date = { advisory . last_notified_at ?? advisory . last_published_at } />
81- { trackedAdvisories [ advisory . id ] ?. highlight &&
82- < div className = "updated-pill" > Updated</ div >
83- }
8484 </ div >
8585 }
8686 </ div >
@@ -111,9 +111,6 @@ export default function AdvisoriesList(props) {
111111 < div className = "advisory-li__content__partition timestamp-container timestamp-container--mobile" >
112112 < span className = "advisory-li-state" > { advisory . last_notified_at != advisory . first_published_at ? "Updated" : "Published" } </ span >
113113 < FriendlyTime date = { advisory . last_notified_at ?? advisory . last_published_at } />
114- { trackedAdvisories [ advisory . id ] ?. highlight &&
115- < div className = "updated-pill" > Updated</ div >
116- }
117114 </ div >
118115 }
119116
@@ -148,6 +145,9 @@ export default function AdvisoriesList(props) {
148145 < div className = "advisory-li__content" >
149146 < div className = "advisory-li-title-container" >
150147 < p className = 'advisory-li-title' > { advisory . title } </ p >
148+ { trackedAdvisories [ advisory . id ] ?. highlight &&
149+ < div className = "updated-pill" > Updated</ div >
150+ }
151151
152152 { ! showDescription &&
153153 < p className = "advisory-li-teaser" > { advisory . teaser ? advisory . teaser : stripRichText ( advisory . body ) . substring ( 0 , 250 ) } </ p >
@@ -158,9 +158,6 @@ export default function AdvisoriesList(props) {
158158 { ! cmsContext . readAdvisories . includes ( advisory . id . toString ( ) + '-' + advisory . live_revision . toString ( ) ) && < div className = "unread-display" > </ div > }
159159 < span className = "advisory-li-state" > { advisory . last_notified_at != advisory . first_published_at ? "Updated" : "Published" } </ span >
160160 < FriendlyTime date = { advisory . last_notified_at ?? advisory . last_published_at } />
161- { trackedAdvisories [ advisory . id ] ?. highlight &&
162- < div className = "updated-pill" > Updated</ div >
163- }
164161 </ div >
165162 }
166163
0 commit comments