Remove non-admin workbench

This commit is contained in:
Cheng Zhou
2026-05-21 15:48:19 +08:00
parent da6f2f2d41
commit 78247a8149
20 changed files with 36 additions and 1474 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ const loadStudies = async () => {
const onCommand = async (cmd: any) => {
if (cmd === "clear") {
study.clearCurrentStudy();
router.push("/workbench");
router.push("/admin/projects");
return;
}
if (cmd?.type === "switch" && cmd.study) {