[Fix] Custom object icon update (#8762)
This commit is contained in:
@ -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';
|
||||||
|
|||||||
@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user