Skip to content

Commit

Permalink
Fix misleading label after creating model registry
Browse files Browse the repository at this point in the history
  • Loading branch information
manaswinidas committed Oct 11, 2024
1 parent 33ea696 commit ac17956
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export const ModelRegistryTableRowStatus: React.FC<ModelRegistryTableRowStatusPr
: [];

// Unavailable
if (availableCondition?.status === ConditionStatus.False) {
if (
availableCondition?.status === ConditionStatus.False &&
!popoverMessages.some((message) => message.includes('ContainerCreating'))
) {
statusLabel = ModelRegistryStatusLabel.Unavailable;
icon = <ExclamationCircleIcon />;
color = 'red';
Expand Down

0 comments on commit ac17956

Please sign in to comment.