diff --git a/src/views/network/AntennaCriteriaCheck.vue b/src/views/network/AntennaCriteriaCheck.vue index 4aff606cf..91553ae29 100644 --- a/src/views/network/AntennaCriteriaCheck.vue +++ b/src/views/network/AntennaCriteriaCheck.vue @@ -4,6 +4,10 @@

Antenna Criteria Check

+
+ The computation of the fulfilment of 'Events' is currently not working correctly. It does not yet take into account the Summer Universities organised. Please check these manually! +
+
@@ -308,7 +312,7 @@ export default { const promises = [] promises.push(this.fetchEvents()) promises.push(this.fetchStatutoryEvents()) - promises.push(this.fetchSummerUniversities()) + // promises.push(this.fetchSummerUniversities()) await Promise.all(promises) @@ -325,12 +329,12 @@ export default { body.latest_event = !body.latest_event || moment(event.latest_event).isAfter(moment(body.latest_event)) ? event.latest_event : body.latest_event } - for (const event of this.summerUniversities) { - for (const organizer of event.organizing_bodies) { - const body = this.bodies.find(x => x.id === organizer.body_id) - body.latest_event = !body.latest_event || moment(event.latest_event).isAfter(moment(body.latest_event)) ? event.latest_event : body.latest_event - } - } + // for (const event of this.summerUniversities) { + // for (const organizer of event.organizing_bodies) { + // const body = this.bodies.find(x => x.id === organizer.body_id) + // body.latest_event = !body.latest_event || moment(event.latest_event).isAfter(moment(body.latest_event)) ? event.latest_event : body.latest_event + // } + // } // ... until here for (const body in this.bodies) { diff --git a/src/views/network/AntennaCriteriaModal.vue b/src/views/network/AntennaCriteriaModal.vue index d02279644..5f01f4e8c 100644 --- a/src/views/network/AntennaCriteriaModal.vue +++ b/src/views/network/AntennaCriteriaModal.vue @@ -13,7 +13,7 @@ - + @@ -58,7 +58,7 @@ -