mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-13 03:31:20 +00:00
add warning to logout
This commit is contained in:
parent
2db6fe5144
commit
ea3e102bba
@ -974,6 +974,11 @@ function App() {
|
||||
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.",
|
||||
});
|
||||
} else {
|
||||
await showUnsavedChanges({
|
||||
message:
|
||||
"Are you sure you would like to logout?",
|
||||
});
|
||||
}
|
||||
window
|
||||
.sendMessage("logout", {})
|
||||
|
Loading…
x
Reference in New Issue
Block a user