Change status on scheduling.

This commit is contained in:
Patrick Fic
2020-02-06 16:33:40 -08:00
parent d422edcb0e
commit acdc17e91b
8 changed files with 103 additions and 62 deletions

View File

@@ -78,9 +78,7 @@ export default connect(
const statusmenu = (
<Menu
onClick={e => {
updateJobStatus({
variables: { jobId: job.id, status: e.key }
}).then(r => refetch());
updateJobStatus(e.key);
}}
>
{bodyshop.md_ro_statuses.statuses.map(item => (