0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Fix empty Google Brews crashing user page

This commit is contained in:
Trevor Buckner
2021-06-11 13:46:03 -04:00
parent 4d5653854a
commit 9d80f21ae7
2 changed files with 3 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ GoogleActions = {
})
.catch((err)=>{
return console.error(`Error Listing Google Brews: ${err}`);
//TODO: Should break out here, but continues on for some reason.
});
if(!obj.data.files.length) {