Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jericson committed Mar 28, 2024
1 parent f9cf0b1 commit ca645e7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 62 deletions.
47 changes: 0 additions & 47 deletions assets/javascripts/discourse/components/contact-form.js

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions assets/javascripts/discourse/contact-route-map.js.es6

This file was deleted.

4 changes: 0 additions & 4 deletions assets/javascripts/discourse/controllers/contact.js.es6
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Component from '@ember/component';
import Controller from '@ember/controller';

export default Controller.extend({
Expand All @@ -16,7 +15,6 @@ export default Controller.extend({
this.contacts.pushObject(contact);
}
})

Check failure on line 17 in assets/javascripts/discourse/controllers/contact.js.es6

View workflow job for this annotation

GitHub Actions / ci / linting

Missing semicolon
.catch(console.error);
},

actions: {
Expand All @@ -34,15 +32,13 @@ export default Controller.extend({
.then(result => {
this.contacts.pushObject(result.target);
})

Check failure on line 34 in assets/javascripts/discourse/controllers/contact.js.es6

View workflow job for this annotation

GitHub Actions / ci / linting

Missing semicolon
.catch(console.error);
},

deleteContact(contact) {
this.store.destroyRecord('contact', contact)
.then(() => {
this.contacts.removeObject(contact);
})

Check failure on line 41 in assets/javascripts/discourse/controllers/contact.js.es6

View workflow job for this annotation

GitHub Actions / ci / linting

Missing semicolon
.catch(console.error);
}
}
})

Check failure on line 44 in assets/javascripts/discourse/controllers/contact.js.es6

View workflow job for this annotation

GitHub Actions / ci / linting

Missing semicolon

0 comments on commit ca645e7

Please sign in to comment.