mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 16:33:16 +00:00
fix(mail-ingest): ask before closing the booking mail setup with changes not saved
The setup only keeps its fields through its own Save, yet Close, the close mark, the backdrop and the phone sheet dropped them without a word. Now each way out asks, and discarding puts the saved values back.
This commit is contained in:
@@ -12,8 +12,9 @@ import {
|
||||
|
||||
/**
|
||||
* The dialog an addon's setup row opens: the icon tile, the addon it belongs
|
||||
* to above the title, what it sets up below, and one Close, since everything
|
||||
* inside saves on its own (booking mails, paddle water data).
|
||||
* to above the title, what it sets up below, and one Close. The paddle water
|
||||
* data saves on its own; the booking mail setup has its own Save and asks
|
||||
* before a way out drops what it holds unsaved.
|
||||
*/
|
||||
export default function AddonSetupDialog({
|
||||
icon,
|
||||
|
||||
Reference in New Issue
Block a user