We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85914d7 commit 1253f7dCopy full SHA for 1253f7d
app/controllers/avo/resources_controller.rb
@@ -107,7 +107,7 @@ def update
107
108
# Filter out the file params
109
regular_resource_params = resource_params.select do |id, value|
110
- !avo_resource.attached_file_fields.map(&:id).include? id
+ !avo_resource.attached_file_fields.map(&:id).to_s.include? id
111
end
112
113
if avo_resource.has_devise_password and regular_resource_params[:password].blank?
app/frontend/js/components/Edit/FileField.vue
@@ -13,7 +13,7 @@
13
<a-button color="indigo"
14
@click="deleteFile"
15
v-if="value"
16
- ><trash-icon class="h-4 mr-1" /> Delete {{field.filename}}</a-button>
+ ><trash-icon class="h-4 mr-1" /> Delete file</a-button>
17
</template>
18
</edit-field-wrapper>
19
0 commit comments