Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-24 18:30:27 +01:00
Apply prettier
Dieser Commit ist enthalten in:
Ursprung
1e8b667e3f
Commit
5acff01708
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
|
@ -146,14 +146,14 @@ export default Component.extend(UndoChanges, {
|
||||||
imageUploadDone(upload) {
|
imageUploadDone(upload) {
|
||||||
this.setProperties({
|
this.setProperties({
|
||||||
"field.image": upload.url,
|
"field.image": upload.url,
|
||||||
"field.image_upload_id": upload.id
|
"field.image_upload_id": upload.id,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
imageUploadDeleted() {
|
imageUploadDeleted() {
|
||||||
this.setProperties({
|
this.setProperties({
|
||||||
"field.image": null,
|
"field.image": null,
|
||||||
"field.image_upload_id": null
|
"field.image_upload_id": null,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -26,14 +26,14 @@ export default Component.extend({
|
||||||
bannerUploadDone(upload) {
|
bannerUploadDone(upload) {
|
||||||
this.setProperties({
|
this.setProperties({
|
||||||
"step.banner": upload.url,
|
"step.banner": upload.url,
|
||||||
"step.banner_upload_id": upload.id
|
"step.banner_upload_id": upload.id,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
bannerUploadDeleted() {
|
bannerUploadDeleted() {
|
||||||
this.setProperties({
|
this.setProperties({
|
||||||
"step.banner": null,
|
"step.banner": null,
|
||||||
"step.banner_upload_id": null
|
"step.banner_upload_id": null,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Laden …
In neuem Issue referenzieren