Create new components with pretty names
This commit is contained in:
parent
fea3838ff9
commit
4944fb3e8c
|
@ -282,7 +282,7 @@ export const getFrontendStore = () => {
|
|||
_id: uuid(),
|
||||
_component: definition.component,
|
||||
_styles: { normal: {}, hover: {}, active: {} },
|
||||
_instanceName: `New ${definition.component.split("/")[2]}`,
|
||||
_instanceName: `New ${definition.name}`,
|
||||
...cloneDeep(props),
|
||||
...extras,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue