Skip to content
Snippets Groups Projects

Issue #3375708: Change the URL ending of the SPA form for creating entities from "/create" to "/add"

Merged Issue #3375708: Change the URL ending of the SPA form for creating entities from "/create" to "/add"
4 files
+ 9
7
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -28,7 +28,9 @@ const calcActionButtonList = (menuTemplate: MenuTemplate, cloudContext: string)
return actionTypeList.includes(r.actionType);
})
.map((r) => {
const to = `/${menuTemplate.cloudServiceProvider}/${cloudContext}/${menuTemplate.entityName}/${r.actionType}`;
const to = `/${menuTemplate.cloudServiceProvider}/${cloudContext}/${menuTemplate.entityName}/${
r.actionType === 'create' ? 'add' : r.actionType
}`;
const actionLabel = r.label;
const cloudServiceProviderLabel = cspToLabel(menuTemplate.cloudServiceProvider);
const entitytype = menuTemplate.entityName;
Loading