Skip to content

Commit

Permalink
chore: remove unused call to 'get_section_elements_context' in search.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Paco committed Sep 4, 2024
1 parent 15bf09e commit 072069a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions core/search/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,19 +214,6 @@ search.prototype.build = async function() {
})
}))

// section_elements. Get section elements context list
ar_promises.push( new Promise(function(resolve){

self.get_section_elements_context({
section_tipo : self.section_tipo,
ar_components_exclude : self.ar_components_exclude,
use_real_sections : false
})
.then(function(response){
resolve(response)
})
}))

// wait until all request are resolved or rejected
await Promise.allSettled(ar_promises);

Expand Down

0 comments on commit 072069a

Please sign in to comment.