mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
Merge pull request #1409 from akihikodaki/name
Add missing src/renderers/get-user-name.ts
This commit is contained in:
commit
5609610db5
5
src/renderers/get-user-name.ts
Normal file
5
src/renderers/get-user-name.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { IUser } from '../models/user';
|
||||
|
||||
export default function(user: IUser): string {
|
||||
return user.name || '名無し';
|
||||
}
|
Loading…
Reference in New Issue
Block a user