[develop | DONE]: Remove condition for hiding umbrella in production.
This commit is contained in:
parent
dd4d785d96
commit
ed8f4f54d1
|
@ -53,18 +53,16 @@ export interface StakeholderCategory {
|
|||
export class StakeholderConfiguration {
|
||||
|
||||
public static ENTITIES: Entities = new Entities();
|
||||
public static STAKEHOLDER_CATEGORIES: StakeholderCategory[] = (properties.environment !== 'production')?[
|
||||
public static STAKEHOLDER_CATEGORIES: StakeholderCategory[] = [
|
||||
{name: 'All', plural: 'All', value: 'all'},
|
||||
{name: 'Template', plural: 'Templates', value: 'templates'},
|
||||
{name: 'Standalone', plural: 'Standalone', value: 'standalone'},
|
||||
{name: 'Umbrella', plural: 'Umbrella', value: 'umbrella'},
|
||||
{name: 'Integrated ', plural: 'Integrated', value: 'dependent',
|
||||
{
|
||||
name: 'Integrated ', plural: 'Integrated', value: 'dependent',
|
||||
tooltip: 'A profile that doesn\'t have his own ' + StakeholderConfiguration.ENTITIES.stakeholder +
|
||||
', but can be integrated into another ' + StakeholderConfiguration.ENTITIES.stakeholder + '.'}
|
||||
]:[
|
||||
{name: 'All', plural: 'All', value: 'all'},
|
||||
{name: 'Template', plural: 'Templates', value: 'templates'},
|
||||
{name: 'Profiles', plural: 'Profiles', value: 'standalone'},
|
||||
', but can be integrated into another ' + StakeholderConfiguration.ENTITIES.stakeholder + '.'
|
||||
}
|
||||
];
|
||||
|
||||
public static TYPES: Option[] = [
|
||||
|
@ -734,7 +732,7 @@ export class IndicatorUtils {
|
|||
if (indicatorPath.type == null) {
|
||||
indicatorPath.type = this.defaultChartType;
|
||||
}
|
||||
if(tab) {
|
||||
if (tab) {
|
||||
indicatorPath.parameters.tab = tab;
|
||||
}
|
||||
return indicatorPath;
|
||||
|
@ -783,7 +781,7 @@ export class IndicatorUtils {
|
|||
for (let gfilter of filter["groupFilters"]) {
|
||||
let replacedValue = this.replaceIndexValues(gfilter["values"][0], stakeholder);
|
||||
if (replacedValue) { // don't proceed in replacement if no replaced value matches
|
||||
gfilter["values"][0] = replacedValue;
|
||||
gfilter["values"][0] = replacedValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue