client lint first pass

This commit is contained in:
Matteo Pagliazzi
2019-10-11 20:35:49 +02:00
parent 07cffe9e16
commit a625e83b53
104 changed files with 1053 additions and 893 deletions

View File

@@ -303,11 +303,11 @@ export default {
},
allocate (stat) {
if (this.pointsRemaining === 0) return;
this.statUpdates[stat]++;
this.statUpdates[stat] += 1;
},
deallocate (stat) {
if (this.statUpdates[stat] === 0) return;
this.statUpdates[stat]--;
this.statUpdates[stat] -= 1;
},
async saveAttributes () {
this.loading = true;