Fix workflow placeholders and icons (#11222)

- allow all form fields that may need a placeholder to set it
- update main icons on versions and runs
This commit is contained in:
Thomas Trompette
2025-03-27 17:01:33 +01:00
committed by GitHub
parent 4eefa45164
commit 439ccb0a52
16 changed files with 67 additions and 37 deletions

View File

@ -24,7 +24,7 @@ export const RecordShowPage = () => {
objectRecordId: string;
}>();
const { objectNameSingular, objectRecordId, headerIcon } = useRecordShowPage(
const { objectNameSingular, objectRecordId } = useRecordShowPage(
parameters.objectNameSingular ?? '',
parameters.objectRecordId ?? '',
);
@ -55,7 +55,6 @@ export const RecordShowPage = () => {
<RecordShowPageHeader
objectNameSingular={objectNameSingular}
objectRecordId={objectRecordId}
headerIcon={headerIcon}
>
<RecordShowActionMenu />
</RecordShowPageHeader>

View File

@ -13,7 +13,6 @@ export const RecordShowPageHeader = ({
}: {
objectNameSingular: string;
objectRecordId: string;
headerIcon: React.ComponentType;
children?: React.ReactNode;
}) => {
const { viewName, navigateToIndexView, objectMetadataItem } =