Skip to content

Commit

Permalink
Merge pull request #102 from paterczm/fix92
Browse files Browse the repository at this point in the history
Show only active versions in versions dropdown
  • Loading branch information
dcrissman committed Apr 27, 2015
2 parents 04f9e56 + 8cc0d55 commit 512d1bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion common/src/main/webapp/js/lightblue-apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ $(document).ready(function() {
versionSelect.append("<option value='' disabled selected>Version:</option>");
$.getJSON( metadataServicePath + entitySelect.val(), function( json ) {
$.each( json, function( versions, version ) {
versionSelect.append("<option value='" + version.version + "'>" + version.version + "</option>");
if(version.status == "active")
versionSelect.append("<option value='" + version.version + "'>" + version.version + "</option>");
});
});
});
Expand Down
4 changes: 2 additions & 2 deletions data-mgmt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>0.0.20</version>
<version>0.0.23</version>
<executions>
<execution>
<id>install node and npm</id>
Expand Down Expand Up @@ -122,4 +122,4 @@
</build>
</profile>
</profiles>
</project>
</project>

0 comments on commit 512d1bd

Please sign in to comment.