Production release July 2024 [EXPLORE] #47

Merged
konstantina.galouni merged 21 commits from develop into master 2024-07-12 10:03:51 +02:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit e70625405c - Show all commits

View File

@ -40,9 +40,9 @@ import {PluginStats} from "./plugin-stats.component";
type="checkbox" field="sdgs" (editClicked)="pluginEditEvent = $event" type="checkbox" field="sdgs" (editClicked)="pluginEditEvent = $event"
(changed)="indicatorsChanged(indicator._id,$event)"> (changed)="indicatorsChanged(indicator._id,$event)">
</plugin-field-edit> </plugin-field-edit>
{{indicator.indicatorPaths[0].name?indicator.name:(indicator.indicatorPaths[0].parameters['title'] )}} {{decode(indicator.indicatorPaths[0].name?indicator.name:(indicator.indicatorPaths[0].parameters['title'] ))}}
<span class=" uk-text-xsmall"> <span class=" uk-text-xsmall">
{{ indicator.indicatorPaths[0].parameters['subtitle']? ' ' + indicator.indicatorPaths[0].parameters['subtitle']:''}}</span> {{ decode(indicator.indicatorPaths[0].parameters['subtitle']? ' ' + indicator.indicatorPaths[0].parameters['subtitle']:'')}}</span>
</div> </div>
</ng-container> </ng-container>
@ -78,4 +78,7 @@ export class PluginStatsFormComponent extends PluginBaseFormComponent<PluginStat
$event.value = this.pluginObject['url']; $event.value = this.pluginObject['url'];
this.valuesChanged.emit($event) this.valuesChanged.emit($event)
} }
decode(text){
return text? decodeURIComponent(text):"";
}
} }