1
0
Fork 0
Dieser Commit ist enthalten in:
Angus McLeod 2022-08-02 13:57:19 +01:00
Ursprung 1e8b667e3f
Commit 5acff01708
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -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,
}); });
}, },
}, },

Datei anzeigen

@ -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,
}); });
}, },
}, },