add warning to logout

This commit is contained in:
PhilReact 2024-12-17 21:28:39 +02:00
parent 2db6fe5144
commit ea3e102bba

View File

@ -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", {})