Commit d0a1e8f2 authored by jon richter's avatar jon richter

add development TODOs

parent 331632c9
......@@ -148,6 +148,7 @@ export default {
topics: [],
users: [],
baseUrl: "https://agora.degrowth.net/"
// TODO: Make configurable.
};
},
async beforeCreate() {
......@@ -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 => {
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment