This commit is contained in:
seb
2026-08-05 19:25:43 +02:00
parent bbec785d7c
commit ff79d5b92c
5 changed files with 45 additions and 26 deletions

View File

@@ -147,7 +147,14 @@ export default class ArticleViewBrand extends Component {
isDirty={brandDraftDirty}
canSave={brandDraftValid}
display={<PanelValue>{value.name || null}</PanelValue>}
edit={<BrandEdit brands={brands} />}
edit={({ draft, onChange, inputRef }) => (
<BrandEdit
brands={brands}
draft={draft}
onChange={onChange}
inputRef={inputRef}
/>
)}
/>
);
}