mirror of
https://github.com/flarum/core.git
synced 2025-07-26 03:01:22 +02:00
Use layoutName instead of templateName
This commit is contained in:
@@ -18,7 +18,7 @@ export default Ember.Component.extend({
|
|||||||
'discussion.following:following',
|
'discussion.following:following',
|
||||||
'active'
|
'active'
|
||||||
],
|
],
|
||||||
templateName: 'components/discussions/discussion-listing',
|
layoutName: 'components/discussions/discussion-listing',
|
||||||
|
|
||||||
active: function() {
|
active: function() {
|
||||||
return this.get('childViews').anyBy('active');
|
return this.get('childViews').anyBy('active');
|
||||||
|
@@ -5,11 +5,7 @@ import PostStreamMixin from '../../mixins/post-stream';
|
|||||||
|
|
||||||
export default Ember.View.extend(PostStreamMixin, {
|
export default Ember.View.extend(PostStreamMixin, {
|
||||||
|
|
||||||
/**
|
layoutName: 'components/discussions/stream-scrollbar',
|
||||||
@property templateName
|
|
||||||
@type String
|
|
||||||
*/
|
|
||||||
templateName: 'components/discussions/stream-scrollbar',
|
|
||||||
classNames: ['scrubber', 'discussion-scrubber'],
|
classNames: ['scrubber', 'discussion-scrubber'],
|
||||||
|
|
||||||
// An object which represents/ecapsulates the scrollbar.
|
// An object which represents/ecapsulates the scrollbar.
|
||||||
|
Reference in New Issue
Block a user