Skip to content

Commit 438da17

Browse files
authored
Merge pull request #11 from hackforla/filter-hacknights
Code looks good to me. I think there's a way to preview the pull request using Netlify, but I forget how...
2 parents 98d11ac + 24cf9f2 commit 438da17

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

components/Calendar.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ export default {
3838
)
3939
.then(({ data }) => {
4040
this.calendar = data.items.filter(
41-
item =>
42-
item.summary &&
43-
item.summary !== 'Westside Hack Night' &&
44-
item.summary !== 'DTLA Hack Night'
41+
item => item.summary && item.summary.indexOf('Hack Night') < 0
4542
);
4643
});
4744
},

0 commit comments

Comments
 (0)