Remove non-admin workbench
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user