mirror of
https://github.com/open-webui/computer.git
synced 2026-11-19 20:27:05 +03:00
refac
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
modal = null;
|
||||
}
|
||||
|
||||
function deleteProfile() {
|
||||
async function deleteProfile() {
|
||||
const currentModal = modal;
|
||||
if (currentModal?.mode !== 'edit') {
|
||||
modal = null;
|
||||
@@ -181,6 +181,7 @@
|
||||
deletedProfile = true;
|
||||
}
|
||||
modal = null;
|
||||
await save();
|
||||
}
|
||||
|
||||
function toggleProfile(index: number) {
|
||||
|
||||
Reference in New Issue
Block a user