making sure it loads if less than 4 pictures

This commit is contained in:
Allan Cueff
2022-12-31 15:32:00 +01:00
parent 204e016610
commit 114e29ac06

View File

@@ -450,6 +450,7 @@ checkCredentials()
for(const id of bestPicturesActivitiesId){
waitForProgress(getDetailledActivity(id), 'progress', 5)
}
progress.value = parseInt(progress.value, 10) + (4-bestPicturesActivitiesId.length)*5;
getTotals();