|
|
|
@ -376,9 +376,9 @@ export class RTLEffects implements OnDestroy {
|
|
|
|
|
const landingPage = isInitialSetup ? '' : 'HOME';
|
|
|
|
|
let selNode = {};
|
|
|
|
|
if(node.settings.fiatConversion && node.settings.currencyUnit) {
|
|
|
|
|
selNode = { userPersona: node.settings.userPersona, channelBackupPath: node.settings.channelBackupPath, selCurrencyUnit: node.settings.currencyUnit, currencyUnits: [...CURRENCY_UNITS, node.settings.currencyUnit], fiatConversion: node.settings.fiatConversion };
|
|
|
|
|
selNode = { lnImplementation: node.lnImplementation, userPersona: node.settings.userPersona, channelBackupPath: node.settings.channelBackupPath, selCurrencyUnit: node.settings.currencyUnit, currencyUnits: [...CURRENCY_UNITS, node.settings.currencyUnit], fiatConversion: node.settings.fiatConversion };
|
|
|
|
|
} else {
|
|
|
|
|
selNode = { userPersona: node.settings.userPersona, channelBackupPath: node.settings.channelBackupPath, selCurrencyUnit: node.settings.currencyUnit, currencyUnits: CURRENCY_UNITS, fiatConversion: node.settings.fiatConversion };
|
|
|
|
|
selNode = { lnImplementation: node.lnImplementation, userPersona: node.settings.userPersona, channelBackupPath: node.settings.channelBackupPath, selCurrencyUnit: node.settings.currencyUnit, currencyUnits: CURRENCY_UNITS, fiatConversion: node.settings.fiatConversion };
|
|
|
|
|
}
|
|
|
|
|
this.store.dispatch(new RTLActions.ResetRootStore(node));
|
|
|
|
|
this.store.dispatch(new RTLActions.ResetLNDStore(selNode));
|
|
|
|
|