Created
December 18, 2019 20:21
-
-
Save evertonthepaula/dd41b70f08f48eff3b10295ba31f6244 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function tributes(option) { | |
return { | |
id: Object.keys(option).join('').trim(), | |
get name() { | |
return option[this.id].name | |
} | |
} | |
} | |
this.tributesByProps.filter(item => (optionsChecked.includes(item[Object.keys(item).join('').trim()].name))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment