Commit d14f84df authored by Rifka Kurnia Irfiana's avatar Rifka Kurnia Irfiana

update body upload

parent 8c7d8bd2
...@@ -65,7 +65,7 @@ export default class ApprovalMatrix extends Component { ...@@ -65,7 +65,7 @@ export default class ApprovalMatrix extends Component {
isi.map((item, index) => { isi.map((item, index) => {
if (item.length > 0) { if (item.length > 0) {
payload.push({ payload.push({
id: index + 1, // id: index + 1,
approval_type_name: item[0] === undefined ? "" : item[0], approval_type_name: item[0] === undefined ? "" : item[0],
orders: item[1] === undefined ? "" : item[1], orders: item[1] === undefined ? "" : item[1],
fullname: item[2] === undefined ? "" : item[2], fullname: item[2] === undefined ? "" : item[2],
......
...@@ -104,10 +104,11 @@ export default class PopUpDelete extends Component { ...@@ -104,10 +104,11 @@ export default class PopUpDelete extends Component {
</div> </div>
<div style={{ display: 'flex', justifyContent: 'center', marginTop: 24 }}> <div style={{ display: 'flex', justifyContent: 'center', marginTop: 24 }}>
<button <button
className={"btn-save"} // className={"btn-save"}
style={{ width: 102, height: 30, border: 'solid 1px #354960', borderRadius: 5, alignItems: 'center', display: 'flex', justifyContent: 'center', cursor:"pointer" }}
onClick={()=> this.props.onClickClose()} onClick={()=> this.props.onClickClose()}
> >
<span style={{ color: 'white' }}>Cancel</span> <span style={{ }}>Cancel</span>
</button> </button>
<button <button
className={"btn-save"} className={"btn-save"}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment