Add status for non operational hours

This commit is contained in:
Maks Snegov 2024-04-26 02:53:55 -07:00
parent fcb9f9dbf3
commit 2070cdb30a

View File

@ -334,6 +334,7 @@ async function runner() {
if (currentHourUTC >= 23 || currentHourUTC < 9) {
// Continue running the code
} else {
await chrome.storage.local.set({ "__status": "not operational hours" });
isRunning = false;
return;
}