diff --git a/static/sessions.js b/static/sessions.js index 0c89c1dabe9..76b9c7dc2f2 100644 --- a/static/sessions.js +++ b/static/sessions.js @@ -120,7 +120,7 @@ function _formatSessionModelWithGateway(s){ if(!s||!s.model)return''; const routing=(typeof _latestGatewayRoutingForSession==='function')?_latestGatewayRoutingForSession(s):(s.gateway_routing||null); if(typeof _formatGatewayModelLabel==='function'){ - return _formatGatewayModelLabel(s.model,s.model,routing)||s.model; + return _formatGatewayModelLabel(s.model,s.model,routing)||getModelLabel(s.model); } return s.model; }