Fix version picker

This commit is contained in:
Dave Syer
2017-03-09 10:23:47 +00:00
parent b870a6677c
commit c06904a8cf
2 changed files with 30 additions and 13 deletions

View File

@@ -104,7 +104,7 @@ Spring.SnippetView = Backbone.View.extend({
},
render: function () {
this.model.bootVersion = this.model.version.indexOf("Dalston")!=-1 ? "1.5.1.BUILD-SNAPSHOT" :
this.model.bootVersion = this.model.version.indexOf("Dalston")!=-1 ? "1.5.2.RELEASE" :
this.model.version.indexOf("Camden")!=-1 ? "1.4.4.RELEASE" :
this.model.version.indexOf("Brixton")!=-1 ? "1.3.8.RELEASE" :
"1.2.8.RELEASE";