"Resume (Debugging)" action should only be visible on 'Pausable' nodes.
This commit is contained in:
@@ -256,6 +256,12 @@ public class BootDashActions {
|
||||
return s == RunState.PAUSED;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isVisibleForElement(BootDashElement e) {
|
||||
// Only show Resume action for elements that can be paused explicitly
|
||||
return e.supportedGoalStates().contains(RunState.PAUSED) && super.isVisibleForElement(e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean showInToolbar() {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user