diff --git a/src/app/components/OptionalDropdown/OptionalDropdown.jsx b/src/app/components/OptionalDropdown/OptionalDropdown.jsx
index f52b316e31..0c739c5d38 100644
--- a/src/app/components/OptionalDropdown/OptionalDropdown.jsx
+++ b/src/app/components/OptionalDropdown/OptionalDropdown.jsx
@@ -7,7 +7,7 @@ import styles from './styles.styl';
// TODO: to be improved
const OptionalDropdown = (props) => {
- const { hidden, title, titleTip, onClick, children, ...rest } = props;
+ const { hidden, title, titleTip, onClick, disabled = false, children, ...rest } = props;
return (
@@ -16,6 +16,7 @@ const OptionalDropdown = (props) => {
{title}
@@ -45,6 +46,7 @@ OptionalDropdown.propTypes = {
titleTip: PropTypes.string,
children: PropTypes.node.isRequired,
onClick: PropTypes.func.isRequired,
+ disabled: PropTypes.bool,
hidden: PropTypes.bool.isRequired
};
diff --git a/src/app/constants/index.js b/src/app/constants/index.js
index dacfe5b438..b9e9bd4c50 100644
--- a/src/app/constants/index.js
+++ b/src/app/constants/index.js
@@ -44,6 +44,9 @@ export const STAGE_PREVIEWING = 2;
export const STAGE_PREVIEWED = 3;
export const STAGE_GENERATED = 4;
+export const PAGE_EDITOR = 'editor';
+export const PAGE_PROCESS = 'process';
+
// Stages for 3d print
export const STAGES_3DP = {
noModel: 10,
diff --git a/src/app/containers/Cnc/Relief.jsx b/src/app/containers/Cnc/Relief.jsx
index 82bc14f5ee..6a8ab83e93 100644
--- a/src/app/containers/Cnc/Relief.jsx
+++ b/src/app/containers/Cnc/Relief.jsx
@@ -203,7 +203,7 @@ const Relief = (props) => {
|
- Invert
+ Invert
|
diff --git a/src/app/containers/Header/Header.jsx b/src/app/containers/Header/Header.jsx
index 28d2d22178..d24761b096 100644
--- a/src/app/containers/Header/Header.jsx
+++ b/src/app/containers/Header/Header.jsx
@@ -12,6 +12,7 @@ import i18n from '../../lib/i18n';
import QuickAccessToolbar from './QuickAccessToolbar';
import MachineSelection from './MachineSelection';
import styles from './styles.styl';
+import PageControl from './PageControl';
const Logo = memo(() => (