Add profile deletion feature
- Added DELETE endpoint /api/profiles/<profile_name> to delete profiles - Prevent deletion of the only remaining profile - Clear current profile state if the active profile is deleted - Added Delete button next to each profile in the Profiles modal - Added confirmation dialog before deleting profiles - Automatically refresh profile list after deletion
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"tab_password": "",
|
||||
"current_profile": "tt",
|
||||
"current_profile": "default",
|
||||
"patterns": {
|
||||
"on": {
|
||||
"min_delay": 10,
|
||||
@@ -46,5 +46,9 @@
|
||||
"min_delay": 10,
|
||||
"max_delay": 10000
|
||||
}
|
||||
}
|
||||
},
|
||||
"color_palette": [
|
||||
"#c12525",
|
||||
"#246dcc"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user