fix: catalog jump to deployments route error

This commit is contained in:
jialin
2025-07-10 17:50:21 +08:00
parent f43d1af6a7
commit 60ee9f1a15
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const checkDefaultPage = async (userInfo: any) => {
if (isFirstLogin === null && isOnline()) {
writeState(IS_FIRST_LOGIN, true);
if (userInfo && userInfo?.is_admin) {
history.push('/models/deployment');
history.push('/models/deployments');
}
}
};