fix: switch monitor root via sentinel yaml
This commit is contained in:
@@ -159,7 +159,7 @@ createApp({
|
||||
|
||||
function currentHref(item) {
|
||||
if (!item || item.id === bootstrap.sentinelId) return bootstrap.basePath || "/";
|
||||
if (item.id === "workbench-dsflash-go-tool-call-10x") return "/";
|
||||
if (item.monitorRoot === true) return "/";
|
||||
return `/sentinels/${encodeURIComponent(item.id)}/`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user