1
0
mirror of https://github.com/flarum/core.git synced 2025-04-22 16:12:05 +02:00

fix: return string array

This commit is contained in:
David Wheatley 2021-12-20 17:15:45 +01:00
parent 0d0eb69980
commit 0ea2504602
No known key found for this signature in database
GPG Key ID: DCC0FCE349280DFF

View File

@ -132,7 +132,7 @@ export default class Post extends Component {
'Post--loading': this.loading,
'Post--by-actor': user === app.session.user,
'Post--by-start-user': user?.id() === discussion.attribute('startUserId'),
});
}).split(' ').filter(x => !!x);
}
/**