Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
js formatting
Dieser Commit ist enthalten in:
Ursprung
af613c11d6
Commit
1b1df47e62
1 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen
|
@ -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
|
||||||
}
|
};
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Laden …
In neuem Issue referenzieren