mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-03-04 00:39:47 +00:00
8 lines
193 B
JavaScript
8 lines
193 B
JavaScript
export default Discourse.Route.extend({
|
|
afterModel(model) {
|
|
if (model.totalRows > 0) {
|
|
this.transitionTo('adminPlugins.chat.provider', model.get('firstObject').name);
|
|
}
|
|
}
|
|
});
|