Fix: Pass entity IDs to image uploader

This commit is contained in:
gpt-engineer-app[bot]
2025-10-02 14:38:40 +00:00
parent fddb87c5be
commit 078026f641
7 changed files with 28 additions and 6 deletions

View File

@@ -253,13 +253,16 @@ export default function PropertyOwnerDetail() {
<DialogContent className="max-w-4xl max-h-[90vh] overflow-y-auto">
<PropertyOwnerForm
initialData={{
id: owner.id,
name: owner.name,
slug: owner.slug,
description: owner.description,
person_type: owner.person_type as any,
website_url: owner.website_url,
founded_year: owner.founded_year,
headquarters_location: owner.headquarters_location
headquarters_location: owner.headquarters_location,
banner_image_url: owner.banner_image_url,
card_image_url: owner.card_image_url
}}
onSubmit={handleEditSubmit}
onCancel={() => setIsEditModalOpen(false)}