mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix(ui): guard model_info access in pause Switch with optional chaining
This commit is contained in:
parent
2847b4fa11
commit
e84fcdd471
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ export const columns = (
|
|||
// clicks. Pair `loading` with `disabled` derived from the same condition
|
||||
// so a double-click during a pending PATCH cannot send a second,
|
||||
// conflicting `blocked` value.
|
||||
const isPausing = pausingModelId === model.model_info.id;
|
||||
const isPausing = pausingModelId === model.model_info?.id;
|
||||
return (
|
||||
<div className="flex items-center justify-end gap-2 pr-4">
|
||||
<Tooltip title={pauseTooltip}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue