mirror of
https://github.com/open-webui/computer.git
synced 2026-11-22 21:50:43 -05:00
refac
This commit is contained in:
1 parent
d95d6192fe
commit
e390ece009
1 file changed
+2
-1
@@ -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