diff --git a/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/FlyoutObjectDetection.tsx b/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/FlyoutObjectDetection.tsx index a9ec4e9bd1..5053f75d06 100644 --- a/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/FlyoutObjectDetection.tsx +++ b/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/FlyoutObjectDetection.tsx @@ -198,7 +198,7 @@ export class FlyoutObjectDetection extends React.Component< +this.state.odSelectedKey.slice( FlyoutODUtils.ExcessLabelLen ) - ] ? ( + ] && ( - ) : ( - - - )} + {this.state.odSelectedKey !== "" && + this.props.loadingExplanation[item.index][ + +this.state.odSelectedKey.slice( + FlyoutODUtils.ExcessLabelLen + ) + ] && ( + + + + )} diff --git a/libs/localization/src/lib/en.json b/libs/localization/src/lib/en.json index abb397adfc..31d16c2aa0 100644 --- a/libs/localization/src/lib/en.json +++ b/libs/localization/src/lib/en.json @@ -1449,7 +1449,7 @@ "labelVisibilityDropdown": "Select labels to display", "legendFailure": "failure", "legendSuccess": "success", - "loading": "Computing explanation for index", + "loading": "Computing explanation for image of index", "multiselect": "Multiselect", "notdefined": "object scenario not defined", "objectSelect": "Object Selection",