database structure fix

This commit is contained in:
2024-03-24 18:09:35 +01:00
parent b60c4ae88c
commit fcf0ef36ab
2 changed files with 7 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ const chart_coutries = computed(() => {
let countries = [["Country"]];
for (let i=0; i < settingsStore.ccountry_list.length ; i++) {
if (settingsStore.ccountry_list[i].online == (settingsStore.online ? 'Y' : 'N') || settingsStore.online == true)
if (settingsStore.ccountry_list[i].offline == (settingsStore.online ? 'N' : 'Y') || settingsStore.online == true)
countries.push([settingsStore.ccountry_list[i].name]);
}
return countries;