a few style tweaks

This commit is contained in:
Danny Coates 2019-03-01 14:12:23 -08:00
parent 4820f175dd
commit 8f74ccdb48
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 10 additions and 10 deletions

View file

@ -269,7 +269,7 @@ export default function(state, emitter) {
setInterval(() => {
// poll for updates of the upload list
if (state.route === '/') {
if (!state.modal && state.route === '/') {
checkFiles();
}
}, 2 * 60 * 1000);
@ -277,6 +277,7 @@ export default function(state, emitter) {
setInterval(() => {
// poll for rerendering the file list countdown timers
if (
!state.modal &&
state.route === '/' &&
state.storage.files.length > 0 &&
Date.now() - lastRender > 30000