mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
add tests + fix lint
This commit is contained in:
@@ -119,16 +119,8 @@ export default {
|
||||
comment: this.reportComment,
|
||||
});
|
||||
|
||||
|
||||
console.info('error', result);
|
||||
this.$root.$emit('habitica:report-result', result);
|
||||
|
||||
if (!result.ok && result.error) {
|
||||
alert('errrorororor!');
|
||||
console.info('error', result);
|
||||
this.error(result.error);
|
||||
}
|
||||
|
||||
this.close();
|
||||
},
|
||||
async clearFlagCount () {
|
||||
|
||||
Reference in New Issue
Block a user