mirror of https://github.com/jetkvm/kvm.git
debug: add console log for reboot state setting
This commit is contained in:
parent
132c2f9531
commit
b6a640fa87
|
|
@ -679,6 +679,7 @@ export default function KvmIdRoute() {
|
|||
|
||||
if (resp.method === "willReboot") {
|
||||
const postRebootAction = resp.params as unknown as PostRebootAction;
|
||||
console.debug("Setting reboot state", postRebootAction);
|
||||
setRebootState({ isRebooting: true, postRebootAction });
|
||||
navigateTo("/");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue