Loading src/App.vue +3 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,7 @@ export default { topics: [], users: [], baseUrl: "https://agora.degrowth.net/" // TODO: Make configurable. }; }, async beforeCreate() { Loading @@ -164,6 +165,7 @@ export default { const id = params.get("id"); // get discourse data // TODO: Make configurable. fetch("https://agora.degrowth.net/c/events/l/map.json?order=default") .then(resp => resp.json()) .then(data => { Loading @@ -171,6 +173,7 @@ export default { this.topics = data.topic_list.topics // parse topics with geolocation and remove old topic // TODO: Have selectable filters for current, outdated or both kinds of events. .filter(topic => { let outdated = false; // allow all topics if (topic.event) { Loading Loading
src/App.vue +3 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,7 @@ export default { topics: [], users: [], baseUrl: "https://agora.degrowth.net/" // TODO: Make configurable. }; }, async beforeCreate() { Loading @@ -164,6 +165,7 @@ export default { const id = params.get("id"); // get discourse data // TODO: Make configurable. fetch("https://agora.degrowth.net/c/events/l/map.json?order=default") .then(resp => resp.json()) .then(data => { Loading @@ -171,6 +173,7 @@ export default { this.topics = data.topic_list.topics // parse topics with geolocation and remove old topic // TODO: Have selectable filters for current, outdated or both kinds of events. .filter(topic => { let outdated = false; // allow all topics if (topic.event) { Loading