mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-13 19:41:22 +00:00
add warning to logout
This commit is contained in:
parent
2db6fe5144
commit
ea3e102bba
@ -974,6 +974,11 @@ function App() {
|
|||||||
message:
|
message:
|
||||||
"Your settings have changed. If you logout you will lose your changes. Click on the save button in the header to keep your changed settings.",
|
"Your settings have changed. If you logout you will lose your changes. Click on the save button in the header to keep your changed settings.",
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
await showUnsavedChanges({
|
||||||
|
message:
|
||||||
|
"Are you sure you would like to logout?",
|
||||||
|
});
|
||||||
}
|
}
|
||||||
window
|
window
|
||||||
.sendMessage("logout", {})
|
.sendMessage("logout", {})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user