feat(frontend): centralize client family labels

This commit is contained in:
RWDai
2026-05-22 15:28:19 +08:00
parent ca341703bc
commit 9633bce2e1
5 changed files with 60 additions and 34 deletions
+9
View File
@@ -547,6 +547,15 @@ async function pollActiveRequests() {
? update.provider_key_name
: undefined
}
if ('client_family' in update) {
record.client_family = typeof update.client_family === 'string' ? update.client_family : null
}
if ('client_ip' in update) {
record.client_ip = typeof update.client_ip === 'string' ? update.client_ip : null
}
if ('user_agent' in update) {
record.user_agent = typeof update.user_agent === 'string' ? update.user_agent : null
}
}
}