From d2fd33bdb53e6628d828603456db85cd13b5243a Mon Sep 17 00:00:00 2001 From: Mohamed Awnallah Date: Sun, 31 Dec 2023 19:26:38 +0200 Subject: [PATCH] Integrate IODA Alarms Chart in Networks and Countries Report --- src/i18n/locales/en.json | 3 +++ src/i18n/locales/jp.json | 3 +++ src/views/Countries.vue | 14 +++++++++++++- src/views/Networks.vue | 15 ++++++++++++++- 4 files changed, 33 insertions(+), 2 deletions(-) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 1c136a67..39d80a13 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -120,6 +120,9 @@ "apiTitle": "Displayed data is available at the following links:" } }, + "iodaChart": { + "title": "IODA Overview" + }, "countryHegemony": { "title": "Network Dependency", "table": { diff --git a/src/i18n/locales/jp.json b/src/i18n/locales/jp.json index 7f91df2f..525f803d 100644 --- a/src/i18n/locales/jp.json +++ b/src/i18n/locales/jp.json @@ -120,6 +120,9 @@ "apiTitle": "Displayed data is available at the following links:" } }, + "iodaChart": { + "title": "IODA Overview" + }, "countryHegemony": { "title": "Network Dependency", "table": { diff --git a/src/views/Countries.vue b/src/views/Countries.vue index c474e41e..d2fd4e99 100644 --- a/src/views/Countries.vue +++ b/src/views/Countries.vue @@ -14,6 +14,7 @@ import { isoCountries } from '@/plugins/countryName' import { DEFAULT_DISCO_AVG_LEVEL } from '@/plugins/disco' import { AS_FAMILY } from '@/plugins/IhrApi' import CountryHegemonyChart from '../components/charts/CountryHegemonyChart.vue' +import IodaChart from '@/components/charts/IodaChart.vue' const { t } = useI18n() @@ -50,6 +51,8 @@ const show = ref({ disco_disable: false, hegemony: true, hegemony_disable: false, + ioda: true, + ioda_disable: false, net_delay: true, net_delay_disable: false }) @@ -181,7 +184,16 @@ onMounted(() => { - + + + + + + + + { /> - + + + + + + + + +