mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 00:43:39 +08:00
6 lines
142 B
JavaScript
6 lines
142 B
JavaScript
|
export default function username(user) {
|
||
|
var username = (user && user.username()) || '[deleted]';
|
||
|
|
||
|
return m('span.username', username);
|
||
|
}
|