mirror of
https://github.com/flarum/framework.git
synced 2025-05-23 15:19:56 +08:00
Replace Ember app with Mithril app
This commit is contained in:
5
js/lib/helpers/username.js
Normal file
5
js/lib/helpers/username.js
Normal file
@ -0,0 +1,5 @@
|
||||
export default function username(user) {
|
||||
var username = (user && user.username()) || '[deleted]';
|
||||
|
||||
return m('span.username', username);
|
||||
}
|
Reference in New Issue
Block a user