Enabled product bundles
This commit is contained in:
@@ -6,6 +6,7 @@ import Workflow from './workflow';
|
||||
import ActionType from '../enums/ActionType';
|
||||
|
||||
export const Wiaas = (props) => {
|
||||
|
||||
const getSidebarItemClass = actionType => {
|
||||
if (actionType === props.actionType) {
|
||||
return 'selected';
|
||||
@@ -37,7 +38,7 @@ export const Wiaas = (props) => {
|
||||
</div>
|
||||
<div id="wiaas-container">
|
||||
{props.actionType === ActionType.LOG_IN && <Login onLogInClicked={props.onLogInClicked}/>}
|
||||
{props.actionType === ActionType.SEND_ORDER && <Order onOrderClicked={props.onOrderClicked} />}
|
||||
{props.actionType === ActionType.SEND_ORDER && <Order products={props.products} onOrderClicked={props.onOrderClicked} />}
|
||||
{props.actionType === ActionType.WORKFLOW && <Workflow onRetrieveWorkflowClicked={props.onRetrieveWorkflowClicked} />}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user