mirror of
https://github.com/flarum/core.git
synced 2025-08-08 01:16:52 +02:00
Add user activity system
This commit is contained in:
9
ember/app/components/user/activity-post.js
Normal file
9
ember/app/components/user/activity-post.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
layoutName: 'components/user/activity-post',
|
||||
|
||||
isFirstPost: Ember.computed('activity.post.number', function() {
|
||||
return this.get('activity.post.number') === 1;
|
||||
})
|
||||
});
|
Reference in New Issue
Block a user