removed console.log()s
This commit is contained in:
parent
79fa211995
commit
40cf497c5e
|
@ -60,10 +60,8 @@ export default {
|
||||||
&& this.galleries[this.activeGalleryIndex].images
|
&& this.galleries[this.activeGalleryIndex].images
|
||||||
&& this.galleries[this.activeGalleryIndex].images[this.activeImageIndex]
|
&& this.galleries[this.activeGalleryIndex].images[this.activeImageIndex]
|
||||||
) {
|
) {
|
||||||
console.log('found')
|
|
||||||
return this.galleries[this.activeGalleryIndex].images[this.activeImageIndex].url
|
return this.galleries[this.activeGalleryIndex].images[this.activeImageIndex].url
|
||||||
} else {
|
} else {
|
||||||
console.log('not found')
|
|
||||||
// TOOD return 404 page - does this do it?
|
// TOOD return 404 page - does this do it?
|
||||||
throw({ statusCode: 404, message: 'Image Not Found' })
|
throw({ statusCode: 404, message: 'Image Not Found' })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue