Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 561d204

Browse files
authored
Merge pull request #591 from eharris369/CW2213-restoreInjectMetrics-090
CW Issue #2213: Restore the inject metrics option on apps with embedded metrics 0.9.0
2 parents d5eb701 + f19b9b8 commit 561d204

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/actions/EnableDisableInjectMetricsAction.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ protected IStatus run(IProgressMonitor monitor) {
8787

8888
public boolean showAction() {
8989
// Don't show the action if the app does not support inject metrics
90-
// Also don't show if the application already has metrics that are not injected
91-
// (if injected, still need to allow the user to remove)
92-
return (app != null && app.canInjectMetrics() && !(app.hasMetricsDashboard() && !app.isMetricsInjected()));
90+
return (app != null && app.canInjectMetrics());
9391
}
9492

9593
}

0 commit comments

Comments
 (0)