diff --git a/workspaces/ui-express/src/divtree/ui/dashboard/StepperPage.ts b/workspaces/ui-express/src/divtree/ui/dashboard/StepperPage.ts index 71f927f62b9a2997aa80bad7988e9aee25f60f7f..7081ddf62006bcbca5cfa7dfa169c67da66cb107 100644 --- a/workspaces/ui-express/src/divtree/ui/dashboard/StepperPage.ts +++ b/workspaces/ui-express/src/divtree/ui/dashboard/StepperPage.ts @@ -21,6 +21,8 @@ class StepperPage extends StepperPageTemplate { protected static needs = [ ({params: {uuid}}) => uuid ? withPermissionCheck('write')(loadDivTree(uuid)) : null, ]; + + protected onPublish = null; // override } const mapStateToProps = (state, ownProps) => ({ diff --git a/workspaces/ui-express/src/ui/pages/_base/StepperPage.tsx b/workspaces/ui-express/src/ui/pages/_base/StepperPage.tsx index 21a5acdd0dffe8111a27b522d352434ad9cd1e1d..086ea8edf285bd1fc52926a19f055c9fb72fb8ff 100644 --- a/workspaces/ui-express/src/ui/pages/_base/StepperPage.tsx +++ b/workspaces/ui-express/src/ui/pages/_base/StepperPage.tsx @@ -140,7 +140,7 @@ class StepperTemplate extends React.Component } @@ -169,7 +169,7 @@ class StepperTemplate extends React.Component public componentDidMount() { const { uuid, apiCall, loadVocabulary, myPartners, loadMyPartners } = this.props; - const { data: vocabulary } = apiCall || { ta: undefined }; + const { data: vocabulary } = apiCall || { data: undefined }; if (!myPartners || myPartners.length === 0) { loadMyPartners();