in the middle, working for login and logout test,
This commit is contained in:
5
002_source/ionic_mobile/src/lib/getStudentAvatar.tsx
Normal file
5
002_source/ionic_mobile/src/lib/getStudentAvatar.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { DBUserMeta } from '../db/UserMetas/type';
|
||||
|
||||
export function getStudentAvatar(studentMeta: DBUserMeta) {
|
||||
return `url(http://localhost:8090/api/files/${studentMeta.collectionId}/${studentMeta.id}/${studentMeta.avatar})`;
|
||||
}
|
Reference in New Issue
Block a user