[master | DONE | CHANGED]: IndicatorController.java: Completing previous commit - In method "createSectionsAndSaveBulk()", on createSection() call, always set title parameter to section.getTitle() (even if it is null).

This commit is contained in:
Konstantina Galouni 2024-01-24 17:39:37 +02:00
parent 52c760af1c
commit 1461f1851e
1 changed files with 2 additions and 2 deletions

View File

@ -82,10 +82,10 @@ public class IndicatorController {
List<String> number_indicators = null;
if(section.getType().equals("chart")) {
chart_section = createSection(chart_section, "chart", (section.getTitle() != null ? section.getTitle() : "Charts"), date, stakeholder, topicId, categoryId, subcategoryId);
chart_section = createSection(chart_section, "chart", section.getTitle(), date, stakeholder, topicId, categoryId, subcategoryId);
chart_indicators = chart_section.getIndicators();
} else if(section.getType().equals("number")) {
number_section = createSection(number_section, "number", (section.getTitle() != null ? section.getTitle() : "Numbers"), date, stakeholder, topicId, categoryId, subcategoryId);
number_section = createSection(number_section, "number", section.getTitle(), date, stakeholder, topicId, categoryId, subcategoryId);
number_indicators = number_section.getIndicators();
}