|
@@ -1,8 +1,6 @@
|
|
-import { default as computed, on, observes } from 'ember-addons/ember-computed-decorators';
|
|
|
|
|
|
+import { default as computed, on } from 'ember-addons/ember-computed-decorators';
|
|
import { getOwner } from 'discourse-common/lib/get-owner';
|
|
import { getOwner } from 'discourse-common/lib/get-owner';
|
|
|
|
|
|
-const fieldNotPresent = (f) => { return f == null || f === undefined };
|
|
|
|
-
|
|
|
|
export default Ember.Component.extend({
|
|
export default Ember.Component.extend({
|
|
classNames: 'custom-input',
|
|
classNames: 'custom-input',
|
|
noneKey: 'admin.wizard.select_field',
|
|
noneKey: 'admin.wizard.select_field',
|
|
@@ -27,7 +25,7 @@ export default Ember.Component.extend({
|
|
return {
|
|
return {
|
|
id: `user_field_${f.id}`,
|
|
id: `user_field_${f.id}`,
|
|
name: f.name
|
|
name: f.name
|
|
- }
|
|
|
|
|
|
+ };
|
|
}));
|
|
}));
|
|
}
|
|
}
|
|
});
|
|
});
|