Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
argirok 2024-06-19 11:33:13 +03:00
commit 27ffac59d9
1 changed files with 6 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export interface StakeholderCategory {
export class StakeholderConfiguration { export class StakeholderConfiguration {
public static ENTITIES: Entities = new Entities(); public static ENTITIES: Entities = new Entities();
public static STAKEHOLDER_CATEGORIES: StakeholderCategory[] = [ public static STAKEHOLDER_CATEGORIES: StakeholderCategory[] = (properties.environment !== 'production')?[
{name: 'All', plural: 'All', value: 'all'}, {name: 'All', plural: 'All', value: 'all'},
{name: 'Template', plural: 'Templates', value: 'templates'}, {name: 'Template', plural: 'Templates', value: 'templates'},
{name: 'Standalone', plural: 'Standalone', value: 'standalone'}, {name: 'Standalone', plural: 'Standalone', value: 'standalone'},
@ -61,7 +61,12 @@ export class StakeholderConfiguration {
{name: 'Integrated ', plural: 'Integrated', value: 'dependent', {name: 'Integrated ', plural: 'Integrated', value: 'dependent',
tooltip: 'A profile that doesn\'t have his own ' + StakeholderConfiguration.ENTITIES.stakeholder + tooltip: 'A profile that doesn\'t have his own ' + StakeholderConfiguration.ENTITIES.stakeholder +
', but can be integrated into another ' + 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'},
]; ];
public static TYPES: Option[] = [ public static TYPES: Option[] = [
{value: 'funder', label: StakeholderConfiguration.ENTITIES.funder}, {value: 'funder', label: StakeholderConfiguration.ENTITIES.funder},
{value: 'ri', label: StakeholderConfiguration.ENTITIES.ri}, {value: 'ri', label: StakeholderConfiguration.ENTITIES.ri},