Skip to content

Commit f03d96b

Browse files
Merge 25.3 to develop
2 parents dc2244a + ae00ef4 commit f03d96b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nextflow/src/org/labkey/nextflow/NextFlowController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ public ModelAndView getView(EnabledForm form, boolean reshow, BindException erro
198198
if (getUser().hasSiteAdminPermission())
199199
{
200200
Boolean status = NextFlowManager.get().getEnabledState(getContainer());
201-
boolean inheritedStatus = NextFlowManager.get().isEnabled(getContainer().getParent());
202201

203202
return new HtmlView("Enable or Disable NextFlow",
204203
FORM(at(method, "POST"),
@@ -209,7 +208,7 @@ public ModelAndView getView(EnabledForm form, boolean reshow, BindException erro
209208
DIV(INPUT(at(type, "radio", name, "enabled", value, "", (status == null ? checked : null), null)),
210209
getContainer().isRoot() ?
211210
"Unset" :
212-
"Inherited from " + getContainer().getParent().getPath() + " (currently " + (inheritedStatus ? "enabled" : "disabled") + ")"),
211+
"Inherited from " + getContainer().getParent().getPath() + " (currently " + (NextFlowManager.get().isEnabled(getContainer().getParent()) ? "enabled" : "disabled") + ")"),
213212
new Button.ButtonBuilder("Save").submit(true).build(), " ",
214213
new Button.ButtonBuilder("Cancel").href(getContainer().getStartURL(getUser())).build()));
215214
}

0 commit comments

Comments
 (0)