diff --git a/app/javascript/vue/storage_locations/modals/new_edit.vue b/app/javascript/vue/storage_locations/modals/new_edit.vue index 551f7b0bb..b0a97df6f 100644 --- a/app/javascript/vue/storage_locations/modals/new_edit.vue +++ b/app/javascript/vue/storage_locations/modals/new_edit.vue @@ -192,12 +192,13 @@ export default { } this.savingLocaiton = true; - + const params = { name: this.object.name, description: this.object.description, signed_blob_id: this.object.signed_blob_id, - container: this.object.container + container: this.object.container, + file_name: this.object.file_name || this.attachedImage?.name }; if (this.object.container) {