Remove non-admin workbench
This commit is contained in:
@@ -337,7 +337,7 @@ const canAccessAuditLogs = computed(() => {
|
||||
|
||||
const ensureAccess = () => {
|
||||
if (!canAccessAuditLogs.value) {
|
||||
router.replace(study.currentStudy ? "/project/overview" : "/workbench");
|
||||
router.replace(study.currentStudy ? "/project/overview" : "/admin/projects");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user