Skip to content

Commit

Permalink
Minor corrections to anniversaries view
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Nov 3, 2021
1 parent 924055f commit 5d7ae5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/GrampsjsViewAnniversaries.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ export class GrampsjsViewAnniversaries extends GrampsjsView {
.date {
font-size: 0.9em;
color: rgba(0, 0, 0, 0.7);
color: rgba(0, 0, 0, 0.5);
}
.title {
margin-top: 0.4em;
margin-bottom: 0.7em;
}
`
]
Expand Down Expand Up @@ -70,7 +71,7 @@ export class GrampsjsViewAnniversaries extends GrampsjsView {
const now = new Date()
const m = now.getMonth() + 1
const d = now.getDate()
const data = await apiGet(`/api/events/?dates=*/${m}/${d}&profile=all`)
const data = await apiGet(`/api/events/?dates=*/${m}/${d}&profile=all&sort=-date`)
this.loading = false
if ('data' in data) {
this.error = false
Expand Down

0 comments on commit 5d7ae5c

Please sign in to comment.