Keep the bank out of the account admin
This commit is contained in:
1 parent
0fed0b9d74
commit
8cdceaa2cc
1 file changed
+4
-1
+4
-1
@@ -158,7 +158,10 @@
|
|||||||
|
|
||||||
function load() {
|
function load() {
|
||||||
return Skuld.api("GET", "/api/markets").then(function (markets) {
|
return Skuld.api("GET", "/api/markets").then(function (markets) {
|
||||||
accounts = markets;
|
// The bank is nobody's holding (docs/spec.md section 3.11).
|
||||||
|
accounts = markets.filter(function (market) {
|
||||||
|
return !market.bank;
|
||||||
|
});
|
||||||
render();
|
render();
|
||||||
fillCustody();
|
fillCustody();
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in new issue
Block a user