mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 11:40:47 +00:00
plugins: rename init to execute
This commit is contained in:
parent
32bc95da39
commit
2a6820064d
8 changed files with 81 additions and 79 deletions
|
|
@ -6,7 +6,7 @@ import { toastFrontendSuccess, toastFrontendError } from "/components/notificati
|
|||
import { showConfirmDialog } from "/js/confirmDialog.js";
|
||||
import { store as imageViewerStore } from "/components/modals/image-viewer/image-viewer-store.js";
|
||||
import { store as pluginListStore } from "/components/plugins/list/pluginListStore.js";
|
||||
import { store as pluginInitStore } from "/components/plugins/list/plugin-init-store.js";
|
||||
import { store as pluginExecuteStore } from "/components/plugins/list/plugin-execute-store.js";
|
||||
|
||||
const PLUGIN_API = "plugins/_plugin_installer/plugin_install";
|
||||
const PER_PAGE = 20;
|
||||
|
|
@ -611,9 +611,9 @@ const model = {
|
|||
}
|
||||
},
|
||||
|
||||
handleOpenInit() {
|
||||
handleOpenExecute() {
|
||||
if (this.installedPluginInfo) {
|
||||
pluginInitStore.open(this.installedPluginInfo);
|
||||
pluginExecuteStore.open(this.installedPluginInfo);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue