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