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
'use strict'; | |
import Ember from 'ember'; | |
import SmartViewMixin from 'client/mixins/smart-view-mixin'; | |
export default Ember.Component.extend(SmartViewMixin.default, { | |
initConversations: function () { | |
this.send('switchConversation', this.get('records.firstObject')); | |
}.on('didInsertElement').observes('records.[]'), | |
actions: { | |
switchConversation: function (conversation) { |