FIX: Inconsistent loading of user profiel page (expanded/unexpanded top
area)
This commit is contained in:
parent
0d12ed2231
commit
9520cc0613
|
@ -2,6 +2,7 @@ import ObjectController from 'discourse/controllers/object';
|
||||||
import CanCheckEmails from 'discourse/mixins/can-check-emails';
|
import CanCheckEmails from 'discourse/mixins/can-check-emails';
|
||||||
|
|
||||||
export default ObjectController.extend(CanCheckEmails, {
|
export default ObjectController.extend(CanCheckEmails, {
|
||||||
|
indexStream: true,
|
||||||
needs: ['user-notifications', 'user_topics_list'],
|
needs: ['user-notifications', 'user_topics_list'],
|
||||||
|
|
||||||
viewingSelf: function() {
|
viewingSelf: function() {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
export default Discourse.Route.extend({
|
export default Discourse.Route.extend({
|
||||||
|
|
||||||
beforeModel: function() {
|
beforeModel: function() {
|
||||||
|
this.controllerFor('user').set('indexStream', true);
|
||||||
return this.replaceWith('userActivity');
|
return this.replaceWith('userActivity');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue