File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default function Advisories(props) {
31
31
{ showDescriptions &&
32
32
< div >
33
33
< div className = "timestamp-container" >
34
- < span > { advisory . live_revision > 1 ? "Last updated" : "Published" } </ span >
34
+ < span > { advisory . first_published_at != advisory . last_published_at ? "Last updated" : "Published" } </ span >
35
35
< FriendlyTime date = { advisory . latest_revision_created_at } />
36
36
</ div >
37
37
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export default function Bulletins(props) {
29
29
< h5 className = 'bulletins-li-title' > { bulletin . title } </ h5 >
30
30
31
31
< div className = "timestamp-container" >
32
- < span > { bulletin . live_revision > 1 ? "Last updated" : "Published" } </ span >
32
+ < span > { bulletin . first_published_at != bulletin . last_published_at ? "Last updated" : "Published" } </ span >
33
33
< FriendlyTime date = { bulletin . latest_revision_created_at } />
34
34
</ div >
35
35
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ export default function AdvisoryDetailsPage() {
155
155
< h1 className = "page-title" > { advisory . title } </ h1 >
156
156
157
157
< div className = "timestamp-container" >
158
- < h4 > { advisory . live_revision > 1 ? "Last updated" : "Published" } </ h4 >
158
+ < h4 > { advisory . first_published_at != advisory . last_published_at ? "Last updated" : "Published" } </ h4 >
159
159
< FriendlyTime date = { advisory . latest_revision_created_at } />
160
160
</ div >
161
161
</ Container >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export default function BulletinDetailsPage() {
41
41
< h1 className = "page-title" > { bulletin . title } </ h1 >
42
42
43
43
< div className = "timestamp-container" >
44
- < h4 > { bulletin . live_revision > 1 ? "Last updated" : "Published" } </ h4 >
44
+ < h4 > { bulletin . first_published_at != bulletin . last_published_at ? "Last updated" : "Published" } </ h4 >
45
45
< FriendlyTime date = { bulletin . latest_revision_created_at } />
46
46
</ div >
47
47
</ Container >
You can’t perform that action at this time.
0 commit comments