diff --git a/flexmeasures/ui/templates/crud/asset.html b/flexmeasures/ui/templates/crud/asset.html
index e9cefb228..6db7ca897 100644
--- a/flexmeasures/ui/templates/crud/asset.html
+++ b/flexmeasures/ui/templates/crud/asset.html
@@ -612,6 +612,14 @@
Sensors:
renderData();
}
+ // Rnder Account Details
+ async function getAccount(accountId){
+ const apiUrl = window.location.origin + "/api/v3_0/accounts/" + accountId;
+ const response = await fetch(apiUrl);
+ const account = await response.json();
+ return account;
+ }
+
// Render the available API assets
function renderApiSensors(assets, graphIndex) {
const apiSensorsList = document.getElementById("apiSensorsList");