Liordino feature/config migration review (#552)
* feat: changed old server ports so it can coexists with the new server feat: removed deleted references from old server feat: created reset and migrate mutations on gql server and correspondent functions on new settings loader feat: created front end for the config migration with reset and migrate functionalities style: add spacing between buttons * feat: added ALL_COINS option to the commissions migration fix: only compare arrays when both variables are arrays fix: 'all coins' must be on a array to work Signed-off-by: Liordino Neto <liordinoneto@gmail.com> Co-authored-by: Liordino Neto <liordinoneto@gmail.com>
This commit is contained in:
parent
9ed3bc50e4
commit
e843020215
2 changed files with 3 additions and 3 deletions
|
|
@ -42,7 +42,6 @@ function loadAccounts (schemaVersion) {
|
|||
|
||||
const configSql = 'insert into user_config (type, data, valid, schema_version) values ($1, $2, $3, $4)'
|
||||
function saveConfig (config) {
|
||||
console.log(config)
|
||||
return loadLatestConfigOrNone()
|
||||
.then(currentConfig => {
|
||||
const newConfig = _.assign(currentConfig, config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue