diff --git a/package.json b/package.json index fbffc919..a4444c13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ihr-website", - "version": "1.3.6", + "version": "1.3.7", "private": true, "type": "module", "scripts": { diff --git a/src/components/Feedback.vue b/src/components/Feedback.vue new file mode 100644 index 00000000..a8e38df9 --- /dev/null +++ b/src/components/Feedback.vue @@ -0,0 +1,53 @@ + + + + + \ No newline at end of file diff --git a/src/components/charts/AsInterdependenciesChart.vue b/src/components/charts/AsInterdependenciesChart.vue index 4b1f3d05..1376b3bb 100644 --- a/src/components/charts/AsInterdependenciesChart.vue +++ b/src/components/charts/AsInterdependenciesChart.vue @@ -105,8 +105,8 @@ const makeHegemonyFilter = () => { const makeHegemonyTier1Filter = () => { return new HegemonyQuery() - .originAs(0) - .asNumber([174,1299]) + .originAs(1299) + .asNumber(1299) .addressFamily(props.addressFamily) .timeInterval(props.startTime, props.endTime) .orderedByTime() @@ -126,8 +126,8 @@ const apiCall = async() => { } updateAxesLabel() hegemonyFilter.value = makeHegemonyFilter() - hegemonyTier1Filter.value = makeHegemonyTier1Filter() hegemonyConeFilter.value = makeHegemonyConeFilter() + hegemonyTier1Filter.value = makeHegemonyTier1Filter() traces.value = extend(true, [], DEFAULT_TRACE) loading.value = true loadingHegemony.value = true @@ -181,6 +181,7 @@ const showTable = (table, selectedDate) => { if (props.noTable) { return } + getNeighboursData() if (selectedDate.length < 16) { // at midnight no time is given details.value.date = new Date(selectedDate + ' 00:00 GMT') //adding timezone to string... @@ -728,7 +729,6 @@ watch(() => props.clear, () => { watch(() => props.endTime, () => { apiCall() tableFromQuery() - getNeighboursData() }) onBeforeMount(() => { @@ -737,7 +737,6 @@ onBeforeMount(() => { onMounted(() => { apiCall() tableFromQuery() - getNeighboursData() }) @@ -812,4 +811,4 @@ onMounted(() => { overflow hidden padding-top 0px !important position relative - \ No newline at end of file + diff --git a/src/components/charts/ReactiveChart.vue b/src/components/charts/ReactiveChart.vue index a8e51689..ee1fbd60 100644 --- a/src/components/charts/ReactiveChart.vue +++ b/src/components/charts/ReactiveChart.vue @@ -143,9 +143,12 @@ onMounted(() => { watch(() => props.traces, () => { react() }, { deep: true }) -// watch(() => props.layout, () => { -// react() -// }) +watch(() => props.layout, () => { + layoutLocal.value = Object.assign(layoutLocal.value, props.layout) + if (layoutLocal.value['title'] !== undefined) { + delete layoutLocal.value['title'] + } +}) watch(() => props.yMax, (newValue) => { const graphDiv = myId.value Plotly.relayout(graphDiv, 'yaxis.range', [0, newValue]) diff --git a/src/components/controllers/GenericCardController.vue b/src/components/controllers/GenericCardController.vue index e4a8e882..d1b06dd8 100644 --- a/src/components/controllers/GenericCardController.vue +++ b/src/components/controllers/GenericCardController.vue @@ -1,8 +1,7 @@