minnor error
This commit is contained in:
parent
89c42be18b
commit
28f5b624ca
|
@ -331,7 +331,7 @@ class StaffEditor extends React.Component {
|
||||||
path: '/staff/edit',
|
path: '/staff/edit',
|
||||||
dataAsForm: true,
|
dataAsForm: true,
|
||||||
data: {
|
data: {
|
||||||
staffId: this.props.staffId,
|
staffId: (!this.props.myAcount) ? this.props.staffId : null,
|
||||||
file: event.target.files[0]
|
file: event.target.files[0]
|
||||||
}
|
}
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|
Loading…
Reference in New Issue