Skip to content

Commit cbee5d2

Browse files
Give modules autonomy for availability
1 parent b04c730 commit cbee5d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

genotyping/src/org/labkey/genotyping/GenotypingModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ protected void init()
7474
}
7575

7676
@Override
77-
public boolean isAvailableOnlyWhenActive()
77+
public boolean isAvailable(Container container)
7878
{
79-
return true;
79+
return container.getActiveModules().contains(this);
8080
}
8181

8282
@Override

0 commit comments

Comments
 (0)