Show refresh button after 30 sec (#314)

This commit is contained in:
Leendert de Borst
2024-10-25 23:32:20 +02:00
parent fba8c171b6
commit c860899f8e
2 changed files with 3 additions and 3 deletions

View File

@@ -375,7 +375,7 @@ else
}
else
{
credential.Alias.BirthDate = DateTime.Parse(alias.AliasBirthDate, new CultureInfo("en-US"));
credential.Alias.BirthDate = DateTime.Parse(alias.AliasBirthDate, CultureInfo.InvariantCulture);
}
return credential;

View File

@@ -96,7 +96,7 @@
const startTime = new Date().getTime();
const minDisplayTime = 1000;
const checkInterval = 500;
const refreshButtonTimeout = 15000;
const refreshButtonTimeout = 300000;
const appElement = document.getElementById('app');
const refreshButton = document.getElementById('refresh-button');
@@ -104,7 +104,7 @@
appElement.style.visibility = 'hidden';
loadingScreen.style.display = 'flex';
// Show refresh button after 15 seconds
// Show refresh button after 30 seconds
setTimeout(() => {
refreshButton.classList.remove('hidden');
}, refreshButtonTimeout);