mirror of
https://github.com/flarum/core.git
synced 2025-10-08 21:46:25 +02: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