We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b68da6 commit d13320dCopy full SHA for d13320d
assets/js/module/search.mjs
@@ -394,9 +394,11 @@ export class PackageSearch {
394
_fetchFeed() {
395
fetch(this.feed)
396
.then(response => response.json())
397
- .then(() => console.log('Search feed fetched'))
398
- .then(data => this.packages = data)
399
- .then(() => console.log('Search feed loaded'))
+ .then(data => {
+ console.log('Search feed fetched');
+ this.packages = data;
400
+ console.log('Search feed loaded');
401
+ })
402
.catch(err => console.warn('Failed to load search feed:', err));
403
console.log('Fetching search feed');
404
}
0 commit comments