Skip to content

Commit c0086cd

Browse files
committed
Show loading indicator when clicking a featured model
1 parent 724c172 commit c0086cd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

apps/model_catalog/src/ValidationFramework.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,8 +803,9 @@ class ValidationFramework extends React.Component {
803803
}
804804

805805
handleFeaturedModelClick(modelId) {
806-
updateHash("model_id." + modelId);
807-
this.getModel("model_id", modelId);
806+
updateHash("model_id." + modelId);
807+
this.setState({ loadingOpen: true });
808+
this.getModel("model_id", modelId);
808809
}
809810

810811
handleModelRowClick(rowData, rowMeta) {

0 commit comments

Comments
 (0)