Merge branch 'main' into restore-countries

This commit is contained in:
frankknoll
2023-03-29 09:10:05 +02:00
3 changed files with 17 additions and 1 deletions

View File

@@ -17,4 +17,19 @@ class GoogleAnalytics {
'search_term': search_term 'search_term': search_term
}); });
} }
static countrySelected(country) {
gtag(
"event",
"select_item",
{
item_list_id: "countrySelect",
items:
[
{
item_id: country,
}
]
});
}
} }

View File

@@ -117,6 +117,7 @@ class BatchCodeTableInitializer {
this.#columnSearch.columnContentUpdated(); this.#columnSearch.columnContentUpdated();
this.#selectInput(); this.#selectInput();
}); });
GoogleAnalytics.countrySelected(this.#getCountry());
} }
#_addEmptyControlColumn(json) { #_addEmptyControlColumn(json) {

View File

@@ -26,7 +26,7 @@ def downloadVAERSFileAndUnzip(file, workingDirectory):
dstDir = workingDirectory + '/VAERS/') dstDir = workingDirectory + '/VAERS/')
def downloadVAERSFile(file, downloadDir): def downloadVAERSFile(file, downloadDir):
driver = getWebDriver(downloadDir, isHeadless = False) driver = getWebDriver(downloadDir, isHeadless = True)
downloadedFile = downloadFile( downloadedFile = downloadFile(
absoluteFile = downloadDir + "/" + file, absoluteFile = downloadDir + "/" + file,
driver = driver, driver = driver,