mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 12:38:21 -05:00
FIX: Inconsistent loading of user profiel page (expanded/unexpanded top
area)
This commit is contained in:
@@ -2,6 +2,7 @@ import ObjectController from 'discourse/controllers/object';
|
||||
import CanCheckEmails from 'discourse/mixins/can-check-emails';
|
||||
|
||||
export default ObjectController.extend(CanCheckEmails, {
|
||||
indexStream: true,
|
||||
needs: ['user-notifications', 'user_topics_list'],
|
||||
|
||||
viewingSelf: function() {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
export default Discourse.Route.extend({
|
||||
|
||||
beforeModel: function() {
|
||||
this.controllerFor('user').set('indexStream', true);
|
||||
return this.replaceWith('userActivity');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user