2017-06-28 17:32:02 -04:00
|
|
|
export default Discourse.Route.extend({
|
2017-08-02 06:33:50 -04:00
|
|
|
afterModel(model) {
|
2017-08-21 11:46:43 -04:00
|
|
|
|
2017-07-03 10:53:26 -04:00
|
|
|
if(model.totalRows > 0){
|
|
|
|
this.transitionTo('adminPlugins.chat.provider', model.get('firstObject').name);
|
|
|
|
}
|
2017-06-28 10:12:37 -04:00
|
|
|
}
|
|
|
|
});
|