1
0

More avatar providers (#200)

Reload the avatar after changing it

Hide cropper after upload

Fix aspect ratio

Add loading variable

Move avatar settings to seperate component

Add avatar crop

Fix avatar upload

Add avatar file upload

Add abstract methods for file upload

Add saving avatar status

Add avatar setting

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/200
This commit is contained in:
konrad
2020-08-02 17:17:29 +00:00
parent 617bcea04e
commit ec1b039daa
11 changed files with 295 additions and 58 deletions

9
src/models/avatar.js Normal file
View File

@ -0,0 +1,9 @@
import AbstractModel from './abstractModel'
export default class AvatarModel extends AbstractModel {
defaults() {
return {
avatarProvider: '',
}
}
}