Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed May 4, 2023
1 parent 837cc8d commit da14f2d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,11 @@ export const ModelsList: FC<Props> = ({
: '';
});

const curatedModels = models.filter((model) =>
const elasticModels = models.filter((model) =>
ELASTIC_MODEL_DEFINITIONS.hasOwnProperty(model.model_id)
);
if (curatedModels.length > 0) {
for (const model of curatedModels) {
if (elasticModels.length > 0) {
for (const model of elasticModels) {
if (model.state === MODEL_STATE.STARTED) {
// no need to check for the download status if the model has been deployed
continue;
Expand Down

0 comments on commit da14f2d

Please sign in to comment.