mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
oops my linter is not running automatically
This commit is contained in:
parent
2e13c2453b
commit
a5c4ddd334
@ -16,7 +16,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
||||
|
||||
@computed('name')
|
||||
nameValid(name) {
|
||||
return name && name.match(/^[a-zA-Z0-9-_]+$/)
|
||||
return name && name.match(/^[a-zA-Z0-9-_]+$/);
|
||||
},
|
||||
|
||||
@observes('name')
|
||||
|
@ -54,7 +54,7 @@ const Theme = RestModel.extend({
|
||||
|
||||
getField(target, name) {
|
||||
let themeFields = this.get("themeFields");
|
||||
let key = this.getKey({target, name})
|
||||
let key = this.getKey({target, name});
|
||||
let field = themeFields[key];
|
||||
return field ? field.value : "";
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user