BOD-34 Added jobs items and conditional rendering for print center.
This commit is contained in:
@@ -19,6 +19,7 @@ const mapDispatchToProps = (dispatch) => ({
|
||||
load: () => dispatch(startLoading()),
|
||||
endload: () => dispatch(endLoading()),
|
||||
});
|
||||
|
||||
export default connect(
|
||||
mapStateToProps,
|
||||
mapDispatchToProps
|
||||
@@ -48,13 +49,12 @@ export default connect(
|
||||
);
|
||||
newWin.document.write(r.data);
|
||||
});
|
||||
}}
|
||||
>
|
||||
}}>
|
||||
TinyMCE
|
||||
</button>
|
||||
<Editor
|
||||
value={state}
|
||||
apiKey="f3s2mjsd77ya5qvqkee9vgh612cm6h41e85efqakn2d0kknk"
|
||||
apiKey='f3s2mjsd77ya5qvqkee9vgh612cm6h41e85efqakn2d0kknk'
|
||||
init={{
|
||||
height: 500,
|
||||
//menubar: false,
|
||||
@@ -76,12 +76,7 @@ export default connect(
|
||||
onClick={() =>
|
||||
setEmailOptions({
|
||||
messageOptions: {
|
||||
from: {
|
||||
name: bodyshop.shopname || EmailSettings.fromNameDefault,
|
||||
address: EmailSettings.fromAddress,
|
||||
},
|
||||
to: "patrickwf@gmail.com",
|
||||
replyTo: bodyshop.email,
|
||||
Subject: "TODO FIX ME",
|
||||
},
|
||||
template: {
|
||||
@@ -89,8 +84,7 @@ export default connect(
|
||||
variables: { id: "2b42336f-b8de-4f04-a053-d6bff034d384" },
|
||||
},
|
||||
})
|
||||
}
|
||||
>
|
||||
}>
|
||||
Set email config.
|
||||
</button>
|
||||
<button
|
||||
@@ -110,8 +104,7 @@ export default connect(
|
||||
variables: { id: "6fea31e9-ea85-4c89-ac56-6f9cc84531fe" },
|
||||
},
|
||||
})
|
||||
}
|
||||
>
|
||||
}>
|
||||
Parts Order
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user