From 13284c60d95a57a88ae7a3c8e566a284a8cb132f Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski Date: Tue, 11 Oct 2022 14:45:37 +0200 Subject: [PATCH] use proper direction parameter for relations API --- src/stores/widgets/StopGapWidgetDriver.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/stores/widgets/StopGapWidgetDriver.ts b/src/stores/widgets/StopGapWidgetDriver.ts index dd806dd6dd95..0f77d6f5ef69 100644 --- a/src/stores/widgets/StopGapWidgetDriver.ts +++ b/src/stores/widgets/StopGapWidgetDriver.ts @@ -445,12 +445,8 @@ export class StopGapWidgetDriver extends WidgetDriver { eventId, relationType ?? null, eventType ?? null, - { - from, - to, - limit, - direction: dir, - }); + { from, to, limit, dir }, + ); return { chunk: events.map(e => e.getEffectiveEvent()),