add avatar
Gitea Actions Demo / build_and_push (push) Successful in 1m4s
Details
Gitea Actions Demo / build_and_push (push) Successful in 1m4s
Details
This commit is contained in:
parent
e0a221b80d
commit
d9c4d61369
|
|
@ -30,7 +30,7 @@ export const useUserStore = defineStore("user", {
|
|||
strinMM = '0' + strinMM;
|
||||
}
|
||||
let avatar = defaultAvatar;
|
||||
if (dataAttachments.avatar != null) {
|
||||
if (dataAttachments != null && dataAttachments.avatar != null) {
|
||||
avatar = dataAttachments.avatar.url;
|
||||
}
|
||||
const formattedToday = stringDD + '/' + strinMM + '/' + yyyy;
|
||||
|
|
|
|||
Loading…
Reference in New Issue