From f6c89008619a84698b179a6d048bf77e28ccc5b1 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Sat, 26 Mar 2016 16:09:11 +0100
Subject: [PATCH] Fix: Settings > Currency should display even with a down
 server

---
 app/js/lib/conf/routes.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/js/lib/conf/routes.js b/app/js/lib/conf/routes.js
index 60eb657..688cf33 100644
--- a/app/js/lib/conf/routes.js
+++ b/app/js/lib/conf/routes.js
@@ -170,8 +170,8 @@ module.exports = (app) => {
     state('main.settings.currency', {
       url: '/currency',
       resolve: {
-        conf: (bmapi) => co(function *() {
-          return bmapi.currency.parameters();
+        conf: (summary) => co(function *() {
+          return summary.parameters;
         })
       },
       template: require('views/main/settings/tabs/currency'),
-- 
GitLab