add avatar
Gitea Actions Demo / build_and_push (push) Has been cancelled
Details
Gitea Actions Demo / build_and_push (push) Has been cancelled
Details
This commit is contained in:
parent
c7926d11b5
commit
e0a221b80d
|
|
@ -29,9 +29,13 @@ export const useUserStore = defineStore("user", {
|
|||
if (mm < 10) {
|
||||
strinMM = '0' + strinMM;
|
||||
}
|
||||
let avatar = defaultAvatar;
|
||||
if (dataAttachments.avatar != null) {
|
||||
avatar = dataAttachments.avatar.url;
|
||||
}
|
||||
const formattedToday = stringDD + '/' + strinMM + '/' + yyyy;
|
||||
return {
|
||||
avatar: dataAttachments.avatar.url || defaultAvatar,
|
||||
avatar: avatar,
|
||||
profileID: dataProfile.id || "",
|
||||
userName: dataProfile.first_name || "",
|
||||
userSurname: dataProfile.surname || "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue