mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
filter list of locations on backend side (GET location endpoint)
This commit is contained in:
@@ -62,7 +62,7 @@ export default {
|
||||
getLocationsList() {
|
||||
getLocations().then(response => new Promise(resolve => {
|
||||
console.log('getLocations', response);
|
||||
this.locations = response.results.filter(l => l.availableForUsers === true);
|
||||
this.locations = response.results;
|
||||
resolve();
|
||||
}))
|
||||
},
|
||||
|
Reference in New Issue
Block a user