MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / onOk

Function onOk

frontend/src/widgets/instance/mod-manager/useModUpload.ts:101–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 icon: createVNode(ExclamationCircleOutlined),
100 content: `${t("TXT_CODE_CONFIRM_UPLOAD")} ${name} ?`,
101 async onOk() {
102 const targetDir = activeKey.value === "1" ? "mods" : "plugins";
103 await selectedFiles(validFiles, targetDir);
104 }
105 });
106 };
107

Callers

nothing calls this directly

Calls 1

selectedFilesFunction · 0.85

Tested by

no test coverage detected