|
|
|
@ -71,6 +71,7 @@ function moreInfo() {
@@ -71,6 +71,7 @@ function moreInfo() {
|
|
|
|
|
gridCode = Alpine.store('entity').cellcode.substr(0,4); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
console.debug("entity group:::: ", this.entityGroup); |
|
|
|
|
switch(dropdown) { |
|
|
|
|
case 'd': |
|
|
|
|
url += '/interface/dropdowns/descriptors?entity_id=' + this.entityId + '&cellcode=' + gridCode; |
|
|
|
@ -121,8 +122,6 @@ function moreInfo() {
@@ -121,8 +122,6 @@ function moreInfo() {
|
|
|
|
|
this.lineChart = {}; |
|
|
|
|
var ctx = document.getElementById('data-chart').getContext('2d'); |
|
|
|
|
console.debug('fetching...'); |
|
|
|
|
console.debug('params: ',this.params); |
|
|
|
|
console.debug('entity group: ',this.entityGroup); |
|
|
|
|
const url = `/data/external/POSEIDON/${Alpine.store('entity').tspr}_${Alpine.store('entity').type}_${Alpine.store('entity').pid}`; |
|
|
|
|
fetch(url) |
|
|
|
|
.then(res => res.json()) |
|
|
|
|