Fix aux item detection from bapsicle items.
This commit is contained in:
parent
4097d326a4
commit
d6aae53010
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@ export const bapsicleMiddleware: Middleware<{}, RootState, Dispatch<any>> = (
|
||||||
type: raw_planitem.trackId ? "central" : "aux",
|
type: raw_planitem.trackId ? "central" : "aux",
|
||||||
trackid: raw_planitem.trackId,
|
trackid: raw_planitem.trackId,
|
||||||
managedid: raw_planitem.managedId,
|
managedid: raw_planitem.managedId,
|
||||||
|
auxid: raw_planitem.managedId,
|
||||||
...raw_planitem,
|
...raw_planitem,
|
||||||
};
|
};
|
||||||
if (bapsicle_state.loaded) {
|
if (bapsicle_state.loaded) {
|
||||||
|
@ -116,6 +117,7 @@ export const bapsicleMiddleware: Middleware<{}, RootState, Dispatch<any>> = (
|
||||||
type: raw_planitem.trackId ? "central" : "aux",
|
type: raw_planitem.trackId ? "central" : "aux",
|
||||||
trackid: raw_planitem.trackId,
|
trackid: raw_planitem.trackId,
|
||||||
managedid: raw_planitem.managedId,
|
managedid: raw_planitem.managedId,
|
||||||
|
auxid: raw_planitem.managedId,
|
||||||
...raw_planitem,
|
...raw_planitem,
|
||||||
};
|
};
|
||||||
planItem = planItem as PlanItem;
|
planItem = planItem as PlanItem;
|
||||||
|
|
Loading…
Reference in a new issue