Add a default limit participations of 10, fix dockerfile and lint some things

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-12-15 22:42:38 +01:00
parent d333bb08f1
commit de261cf334
3 changed files with 12 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ export default class SendPasswordReset extends Vue {
}
removeError(message: string) {
this.errors.splice(this.errors.indexOf(message))
this.errors.splice(this.errors.indexOf(message));
}
async sendResetPasswordTokenAction(e) {
@@ -81,7 +81,7 @@ export default class SendPasswordReset extends Vue {
} catch (err) {
console.error(err);
err.graphQLErrors.forEach(({ message }) => {
if (this.errors.indexOf(message) < 0){
if (this.errors.indexOf(message) < 0) {
this.errors.push(message);
}
});