Merge pull request #1409 from akihikodaki/name

Add missing src/renderers/get-user-name.ts
This commit is contained in:
syuilo 2018-04-06 13:39:33 +09:00 committed by GitHub
commit 9eb073534f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import { IUser } from '../models/user';
export default function(user: IUser): string {
return user.name || '名無し';
}