fix(core): fix flattedRoutes manipulation

pull/2447/head
mehmet-erim 6 years ago
parent 1af300ba18
commit 2b2e0be51d

@ -229,7 +229,7 @@ export class ConfigState {
const index = flattedRoutes.findIndex(route => route.name === name);
if (index > -1) {
flattedRoutes[index] = newValue as ABP.FullRoute;
flattedRoutes[index] = { ...flattedRoutes[index], ...newValue } as ABP.FullRoute;
}
return patchState({

Loading…
Cancel
Save