mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 01:19:27 -04:00
Add missing 'finished' field
This commit is contained in:
@@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
const responseTime = Date.now() - startTime;
|
||||
currentInterval = calculateBackoff(responseTime);
|
||||
|
||||
if (data.stop === 1 || data.finished === true) {
|
||||
if (data.finished === true) {
|
||||
stopPolling();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user