Skip to content

Commit

Permalink
chore: work in progress
Browse files Browse the repository at this point in the history
Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>
  • Loading branch information
joshuaunity committed Nov 1, 2024
1 parent 21a55bb commit c4c9575
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions flexmeasures/ui/templates/crud/asset.html
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,14 @@ <h5 class="card-title pt-2"><b> Sensors: </b></h5>
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");
Expand Down

0 comments on commit c4c9575

Please sign in to comment.