# June 28, 2019
# Going to work on TAP CMS image specifications
- Never mind, still need to make sure tablet designs are fleshed out before.
# Going to try and make my carousel's dynamic instead.
# Filtering deeply nested stuff is hard. Here was my solution for matching services that were content relationship with case studies.
- Computed property
matchingWorks() {
return this.rawWorks.filter((w) => {
return w.data.services.find((s) => {
return s.service.uid === this.rawService.uid
})
})
}
1
2
3
4
5
6
7
2
3
4
5
6
7
# First time using reduce to flatten an array with only one thing in it.
client_name
was an array with one thing in it.
return client.data.client_name.reduce((n) => { return n }).text
1