Last active
September 12, 2016 21:31
-
-
Save krivaten/49e9686ebf98224169e396ac22bcf07b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import Em from 'ember'; | |
| const { | |
| computed | |
| } = Em; | |
| export default. Em.Component.extend({ | |
| datum: null, | |
| pfmData: computed.readOnly('datum.pfmData'), | |
| actions: { | |
| something() { | |
| const pfmData = get(this, 'pfmData'); | |
| const feedName = pfmData ? get(pfmData, 'feed_name') : null; | |
| } | |
| } | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment