Skip to content

Commit

Permalink
Use the more elegant way of querying the period's content nodes, now …
Browse files Browse the repository at this point in the history
…that it's available
  • Loading branch information
carlobeltrame committed May 4, 2022
1 parent f174122 commit ad0cb7c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions print/components/ProgramPeriod.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ export default {
await Promise.all([
this.period.days().$loadItems(),
this.period.scheduleEntries().$loadItems(),
this.$api
.get()
.contentNodes({ period: this.period._meta.self })
.$loadItems(),
this.period.contentNodes().$loadItems(),
])
this.days = this.period.days().items
Expand Down

0 comments on commit ad0cb7c

Please sign in to comment.