minnor error

This commit is contained in:
Guillermo 2018-09-10 11:51:17 -03:00
parent 89c42be18b
commit 28f5b624ca
1 changed files with 1 additions and 1 deletions

View File

@ -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(() => {