Skip to content

Commit 7ee509d

Browse files
rename old to oldset
1 parent 9aa2823 commit 7ee509d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Controllers/MainController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public ActionResult CalculateLUI(LUIQueryModel model)
7777
// set page title
7878
ViewBag.Title = PresentationModel.GetViewTitleForTenant(TITLE, this.Session.GetTenant());
7979

80-
if(model.ComponentsSet.SelectedValue == "Old")
80+
if(model.ComponentsSet.SelectedValue == "OldSet")
8181
selectedDataStructureId = (int)Settings.get("lui:datastructureOldComponentsSet");
8282
else
8383
selectedDataStructureId = (int)Settings.get("lui:datastructureNewComponentsSet");

Models/LUIQueryModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public LUIQueryModel()
3131
ComponentsSet = new RadioButtonControlHelper();
3232

3333
//fill ComponentsSet
34-
ComponentsSet.SelectedValue = "New";
35-
ComponentsSet.Values = new List<string>() { "Old", "New" };
34+
ComponentsSet.SelectedValue = "NewSet";
35+
ComponentsSet.Values = new List<string>() { "OldSet", "NewSet" };
3636

3737

3838
// fill RawVsCalc

Scripts/lui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
console.log(datasetIdOld);
3636
console.log(selecteddataset);
3737

38-
if (selecteddataset == "Old") {
38+
if (selecteddataset == "OldSet") {
3939

4040
datasetId = datasetIdOld ;
4141
versionId = versionIdOld;

0 commit comments

Comments
 (0)