diff --git a/cloudapp/src/app/catalog/main/main.component.ts b/cloudapp/src/app/catalog/main/main.component.ts index b055db2..8e80d84 100644 --- a/cloudapp/src/app/catalog/main/main.component.ts +++ b/cloudapp/src/app/catalog/main/main.component.ts @@ -39,8 +39,8 @@ export class CatalogMainComponent implements AfterViewInit { public ACTIONS_MENU_LIST = new Map([ [SearchType.Monographs, ['Catalog.Results.Actions.View', 'Catalog.Results.Actions.Import']], [SearchType.Serials, ['Catalog.Results.Actions.View', 'Catalog.Results.Actions.Import']], - [SearchType.Names, ['Catalog.Results.Actions.View' /* , 'Catalog.Results.Actions.Import' */]], - [SearchType.UniformTitles, ['Catalog.Results.Actions.View'/* , 'Catalog.Results.Actions.Import' */]] + [SearchType.Names, ['Catalog.Results.Actions.View', 'Catalog.Results.Actions.Import']], + [SearchType.UniformTitles, ['Catalog.Results.Actions.View', 'Catalog.Results.Actions.Import']] ]); diff --git a/cloudapp/src/app/service/alma.api.service.ts b/cloudapp/src/app/service/alma.api.service.ts index 0a347fa..6b6da8b 100644 --- a/cloudapp/src/app/service/alma.api.service.ts +++ b/cloudapp/src/app/service/alma.api.service.ts @@ -72,8 +72,8 @@ export class AlmaApiService { // extract import profiles let contributionConfigurationParams = nacsisIntegrationProfile.parameter.filter(param => param.action.value == "CENTRAL_CATALOG_CONTRIBUTION_CONFIGURATION"); integrationProfile.repositoryImportProfile = contributionConfigurationParams.filter(param => param.name.value == "repositoryImportProfile")[0].value; - // integrationProfile.authorityImportProfileNames = ContributionConfigurationParams.filter(param => param.name.value == "authNames")[0].value; - // integrationProfile.authorityImportProfileUniformTitles = ContributionConfigurationParams.filter(param => param.name.value == "authUniformTitle")[0].value; + integrationProfile.authorityImportProfileNames = contributionConfigurationParams.filter(param => param.name.value == "authNames")[0].value; + integrationProfile.authorityImportProfileUniformTitles = contributionConfigurationParams.filter(param => param.name.value == "authUniformTitle")[0].value; } catch (e) { console.log(e); }