[Fix] Custom object icon update (#8762)

This commit is contained in:
Marie
2024-11-26 18:03:19 +01:00
committed by GitHub
parent 315938215e
commit 149ce680d5
2 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,7 @@ export const SettingsDataModelObjectAboutForm = ({
watch('nameSingular'); watch('nameSingular');
watch('namePlural'); watch('namePlural');
watch('description'); watch('description');
watch('icon');
const apiNameTooltipText = isLabelSyncedWithName const apiNameTooltipText = isLabelSyncedWithName
? 'Deactivate "Synchronize Objects Labels and API Names" to set a custom API name' ? 'Deactivate "Synchronize Objects Labels and API Names" to set a custom API name'
: 'Input must be in camel case and cannot start with a number'; : 'Input must be in camel case and cannot start with a number';

View File

@ -29,7 +29,7 @@ export const WithStandardSelected: Story = {
play: async () => { play: async () => {
const canvas = within(document.body); const canvas = within(document.body);
await canvas.findByText('New Object', undefined, { timeout: 2000 }); await canvas.findByText('New Object', undefined, { timeout: 5000 });
const listingInput = await canvas.findByPlaceholderText('Listing'); const listingInput = await canvas.findByPlaceholderText('Listing');
const pluralInput = await canvas.findByPlaceholderText('Listings'); const pluralInput = await canvas.findByPlaceholderText('Listings');