File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 43
43
</div >
44
44
<div class =" flex middle col-sm-12" >
45
45
<input type =" checkbox" id =" official" v-model =" show.officialOnly" />
46
- <label for =" official" class =" ml-2xsmall" >Show only official events</label >
46
+ <label for =" official" class =" ml-2xsmall" >Show only sanctioned events</label >
47
47
</div >
48
48
<div class =" flex middle col-sm-12" >
49
49
<input type =" checkbox" id =" CFP" v-model =" show.types.CFP" />
86
86
</div >
87
87
<div v-if =" event.hostedByFoundation" class =" flex middle" >
88
88
<robot-icon size =" 1rem" class =" mr-2xsmall" style =" transform : translateY (-2px )" />
89
- Hosted by Foundation
89
+ Sanctioned by Foundation
90
90
</div >
91
91
<details v-if =" event.description && event.description.trim() !== ''" >
92
92
<summary class =" color-link cursor-pointer flex middle" @click =" showInfo($event.target.parentElement)" >
@@ -164,8 +164,9 @@ export default {
164
164
},
165
165
shownItems () {
166
166
const events = this .events
167
- .filter (({ eventType, date }) => {
167
+ .filter (({ eventType, date, hostedByFoundation }) => {
168
168
if (! this .show .past && isPast (new Date (date))) return false
169
+ if (this .show .officialOnly && ! hostedByFoundation) return false
169
170
if (! this .show .types .Conference && eventType === ' Conference' ) return false
170
171
if (! this .show .types [' Meet-up' ] && eventType === ' Meet-up' ) return false
171
172
if (! this .show .types .Workshop && eventType === ' Workshop' ) return false
You can’t perform that action at this time.
0 commit comments