diff --git a/src/app/topic/indicators.component.ts b/src/app/topic/indicators.component.ts index f359d6e..8a0435d 100644 --- a/src/app/topic/indicators.component.ts +++ b/src/app/topic/indicators.component.ts @@ -1322,7 +1322,7 @@ export class IndicatorsComponent implements OnInit, OnDestroy, OnChanges, AfterV this.editing = false; this.importLoading = false; } else if (sectionsToSave.length > 0 && countIndicators > 0) { - this.saveIndicators(sectionsToSave) + this.saveIndicators(sectionsToSave.filter(section => !!section)); } if (sectionsToSave.length == 0 || countIndicators == 0) { UIkit.notification(" No urls imported!", {