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')
|
@computed('name')
|
||||||
nameValid(name) {
|
nameValid(name) {
|
||||||
return name && name.match(/^[a-zA-Z0-9-_]+$/)
|
return name && name.match(/^[a-zA-Z0-9-_]+$/);
|
||||||
},
|
},
|
||||||
|
|
||||||
@observes('name')
|
@observes('name')
|
||||||
|
|
|
@ -54,7 +54,7 @@ const Theme = RestModel.extend({
|
||||||
|
|
||||||
getField(target, name) {
|
getField(target, name) {
|
||||||
let themeFields = this.get("themeFields");
|
let themeFields = this.get("themeFields");
|
||||||
let key = this.getKey({target, name})
|
let key = this.getKey({target, name});
|
||||||
let field = themeFields[key];
|
let field = themeFields[key];
|
||||||
return field ? field.value : "";
|
return field ? field.value : "";
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue