Don't blow up if no recordings are there
This commit is contained in:
parent
e8b539da0d
commit
6562f9a56a
@ -126,6 +126,7 @@ function gardenShapes() {
|
||||
axios
|
||||
.get(archiveListingUrl)
|
||||
.then(function(response) {
|
||||
if (!response.data.length) return;
|
||||
let randomIndex = floor(random(0, response.data.length - 1));
|
||||
let url = response.data[randomIndex];
|
||||
axios
|
||||
|
Loading…
Reference in New Issue
Block a user