mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
Warn user in WebUI of unsaved changes #911
This commit is contained in:
@@ -302,7 +302,11 @@ const en: Translation = {
|
||||
NEW_NAME_OF: 'New {0} name',
|
||||
ENTITY: 'entity',
|
||||
MIN: 'min',
|
||||
MAX: 'max'
|
||||
MAX: 'max',
|
||||
BLOCK_NAVIGATE_1: 'You have unsaved changes',
|
||||
BLOCK_NAVIGATE_2: 'If you navigate to a different page, your unsaved changes will be lost. Are you sure you want to leave this page?',
|
||||
STAY: 'Stay',
|
||||
LEAVE: 'Leave'
|
||||
};
|
||||
|
||||
export default en;
|
||||
|
||||
Reference in New Issue
Block a user