From b9966dbbbde84256710f46983160fc11fae0fc3b Mon Sep 17 00:00:00 2001 From: Carlo Beltrame Date: Wed, 4 May 2022 16:59:32 +0200 Subject: [PATCH] Use the more elegant way of querying the period's content nodes, now that it's available --- print/components/ProgramPeriod.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print/components/ProgramPeriod.vue b/print/components/ProgramPeriod.vue index 0f0e699c28..7cd281d3da 100644 --- a/print/components/ProgramPeriod.vue +++ b/print/components/ProgramPeriod.vue @@ -35,7 +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