From 8ea853c388faa2bfdeadc2d41cb411943b0bba1f Mon Sep 17 00:00:00 2001 From: Vladyslav Burzakovskyy Date: Tue, 21 Jan 2020 19:08:49 +0100 Subject: [PATCH] balanceHistory: fix currencies list and update placeholders in test-websocket.html --- static/test-websocket.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/test-websocket.html b/static/test-websocket.html index 81630b8a..8f40faf4 100644 --- a/static/test-websocket.html +++ b/static/test-websocket.html @@ -165,14 +165,14 @@ const descriptor = document.getElementById('getBalanceHistoryDescriptor').value.trim(); const from = parseInt(document.getElementById("getBalanceHistoryFrom").value.trim()); const to = parseInt(document.getElementById("getBalanceHistoryTo").value.trim()); - const fiat = document.getElementById("getBalanceHistoryFiat").value.trim(); + const currencies = document.getElementById('getBalanceHistoryFiat').value.split(","); const groupBy = parseInt(document.getElementById("getBalanceHistoryGroupBy").value); const method = 'getBalanceHistory'; const params = { descriptor, from, to, - fiat, + currencies, groupBy // default gap=20 }; @@ -462,9 +462,9 @@
- - - + + +