Skip to content

Commit

Permalink
fixed some formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Carolina Capetillo committed Nov 3, 2023
1 parent e4a8896 commit 72a7abc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/modules/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ const actions = {
// Get site and user_id
let url = null
const site = rootState.site_config.selected_site

const filterparams = {}

// Set the lastSiteRequested before the API call
Expand Down Expand Up @@ -374,6 +375,7 @@ const actions = {
let response = await axios(firstbody)
response = response.data

// Empty response
if (response.length === 0) {
dispatch('display_placeholder_image')
return
Expand All @@ -396,7 +398,7 @@ const actions = {
queryEnd = endDate.add(1, 'days')
} else {
// If the image was taken earlier than noon, set the start of query to noon yesterday
queryStart = noonDate.subtract(1, 'days')
queryStart = noonDate.add(-1, 'days')

// and the end to noon today
queryEnd = endDate
Expand Down

0 comments on commit 72a7abc

Please sign in to comment.