From d6aae530103cf3a45a73a3b0b38c98e0ee595a8b Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Sun, 13 Jun 2021 18:16:03 +0100 Subject: [PATCH] Fix aux item detection from bapsicle items. --- src/bapsicle.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bapsicle.ts b/src/bapsicle.ts index 62bb02e..c5d908b 100644 --- a/src/bapsicle.ts +++ b/src/bapsicle.ts @@ -50,6 +50,7 @@ export const bapsicleMiddleware: Middleware<{}, RootState, Dispatch> = ( type: raw_planitem.trackId ? "central" : "aux", trackid: raw_planitem.trackId, managedid: raw_planitem.managedId, + auxid: raw_planitem.managedId, ...raw_planitem, }; if (bapsicle_state.loaded) { @@ -116,6 +117,7 @@ export const bapsicleMiddleware: Middleware<{}, RootState, Dispatch> = ( type: raw_planitem.trackId ? "central" : "aux", trackid: raw_planitem.trackId, managedid: raw_planitem.managedId, + auxid: raw_planitem.managedId, ...raw_planitem, }; planItem = planItem as PlanItem;