mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-19 03:25:38 +00:00
composer: send NewJob event on submission
This commit is contained in:
parent
a2456fa3f5
commit
bb51d36579
@ -887,6 +887,11 @@ impl Component for Composer {
|
||||
) {
|
||||
Ok(job) => {
|
||||
let handle = context.job_executor.spawn_blocking(job);
|
||||
context
|
||||
.replies
|
||||
.push_back(UIEvent::StatusEvent(StatusEvent::NewJob(
|
||||
handle.job_id,
|
||||
)));
|
||||
self.mode = ViewMode::WaitingForSendResult(
|
||||
UIDialog::new(
|
||||
"Waiting for confirmation.. The tab will close automatically on successful submission.",
|
||||
|
Loading…
Reference in New Issue
Block a user