forked from dbroqua/MusicTopus
@93 - Wantlist
This commit is contained in:
parent
bed5139a27
commit
a4a3933c6d
24 changed files with 1137 additions and 70 deletions
|
@ -19,6 +19,8 @@ if (typeof email !== "undefined" && typeof username !== "undefined") {
|
|||
token: "",
|
||||
message:
|
||||
"Je viens d'ajouter {artist} - {album} à ma collection !",
|
||||
wantlist:
|
||||
"Je viens d'ajouter {artist} - {album} à ma liste de souhaits !",
|
||||
},
|
||||
},
|
||||
loading: false,
|
||||
|
@ -58,8 +60,13 @@ if (typeof email !== "undefined" && typeof username !== "undefined") {
|
|||
// eslint-disable-next-line no-unused-vars
|
||||
async updateProfil() {
|
||||
this.errors = [];
|
||||
const { oldPassword, password, passwordConfirm, mastodon, pagination } =
|
||||
this.formData;
|
||||
const {
|
||||
oldPassword,
|
||||
password,
|
||||
passwordConfirm,
|
||||
mastodon,
|
||||
pagination,
|
||||
} = this.formData;
|
||||
|
||||
if (password && !oldPassword) {
|
||||
this.errors.push("emptyPassword");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue