refactor: clean up frps v2 frontend models (#5399)

This commit is contained in:
fatedier
2026-07-08 13:10:55 +08:00
committed by GitHub
parent 68509f5d44
commit 17e788d43b
4 changed files with 2 additions and 39 deletions

View File

@@ -49,7 +49,7 @@ export const toLegacyProxyStats = (proxy: ProxyV2Info): ProxyStatsInfo => ({
curConns: proxy.status.curConns,
lastStartTime: proxy.status.lastStartTime,
lastCloseTime: proxy.status.lastCloseTime,
status: proxy.status.state || proxy.status.phase || '',
status: proxy.status.phase,
})
export const getProxy = (type: string, name: string) => {