Changed case on helper function

Stub for renaming case of file
This commit is contained in:
Peter Mein 2015-12-26 13:06:31 +01:00
parent b6464a719e
commit e607297635
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import Component from 'flarum/Component';
import UserCard from 'flarum/components/UserCard';
import avatar from 'flarum/helpers/avatar';
import username from 'flarum/helpers/username';
import useronline from 'flarum/helpers/useronline';
import userOnline from 'flarum/helpers/userOnline';
import listItems from 'flarum/helpers/listItems';
/**
@ -46,7 +46,7 @@ export default class PostUser extends Component {
return (
<div className="PostUser">
{useronline(user)}
{userOnline(user)}
<h3>
<a href={app.route.user(user)} config={m.route}>
{avatar(user, {className: 'PostUser-avatar'})}{' '}{username(user)}

View File

@ -6,7 +6,7 @@ import icon from 'flarum/helpers/icon';
* @param {User} user
* @return {Object}
*/
export default function useronline(user) {
export default function userOnline(user) {
if (user.lastSeenTime() && user.isOnline()) {
return <span className="UserOnline">{icon('circle')}</span>;
}