Update wizard-field-upload.js.es6
Dieser Commit ist enthalten in:
Ursprung
85c64fb3b6
Commit
6f0aa3d911
1 geänderte Dateien mit 0 neuen und 7 gelöschten Zeilen
|
@ -7,13 +7,6 @@ export default Ember.Component.extend({
|
||||||
classNames: ["wizard-image-row"],
|
classNames: ["wizard-image-row"],
|
||||||
uploading: false,
|
uploading: false,
|
||||||
|
|
||||||
@computed("field.id")
|
|
||||||
previewComponent(id) {
|
|
||||||
const componentName = `image-preview-${Ember.String.dasherize(id)}`;
|
|
||||||
const exists = getOwner(this).lookup(`component:${componentName}`);
|
|
||||||
return exists ? componentName : "wizard-image-preview";
|
|
||||||
},
|
|
||||||
|
|
||||||
didInsertElement() {
|
didInsertElement() {
|
||||||
this._super();
|
this._super();
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren