Being back /all view for map AdventureLink
This commit is contained in:
@@ -19,14 +19,14 @@
|
||||
if (modal) {
|
||||
modal.showModal();
|
||||
}
|
||||
let res = await fetch(`/api/adventures/?include_collections=false`, {
|
||||
let res = await fetch(`/api/adventures/all/?include_collections=false`, {
|
||||
method: 'GET'
|
||||
});
|
||||
|
||||
const newAdventures = await res.json();
|
||||
|
||||
if (res.ok && adventures) {
|
||||
adventures = newAdventures.results;
|
||||
adventures = newAdventures;
|
||||
}
|
||||
isLoading = false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user