mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-09 20:21:06 +00:00
update page on input request
This commit is contained in:
parent
78c2765d2a
commit
edef963287
@ -286,6 +286,9 @@ impl Page {
|
||||
meta.borrow_mut().status = Some(status);
|
||||
meta.borrow_mut().description = Some(description);
|
||||
meta.borrow_mut().title = Some(title);
|
||||
|
||||
// Update page
|
||||
action_update.activate(Some(&id));
|
||||
},
|
||||
None => todo!(),
|
||||
}
|
||||
@ -576,7 +579,7 @@ impl Page {
|
||||
Some(Status::Connect) => Some(0.25),
|
||||
Some(Status::Request) => Some(0.50),
|
||||
Some(Status::Response) => Some(0.75),
|
||||
Some(Status::Failure | Status::Redirect | Status::Success) => Some(1.0),
|
||||
Some(Status::Failure | Status::Redirect | Status::Success | Status::Input) => Some(1.0),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user