From 1c75ed2c7b3b22ff1635990d10fd97f34f4ed764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20G=C3=B3mez?= Date: Thu, 10 Oct 2024 04:49:34 +0200 Subject: [PATCH] Fix trailing spaces --- .../cc-license/item-page-cc-license-field.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component.ts b/src/app/item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component.ts index 5943f05145d..819b587534a 100644 --- a/src/app/item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component.ts +++ b/src/app/item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component.ts @@ -33,12 +33,12 @@ import { * Displays the item's Creative Commons license image in it's simple item page */ export class ItemPageCcLicenseFieldComponent implements OnInit { - + /** * Expression used to detect (and parse) whether a URI denotes a CC license */ public static readonly regex = /.*creativecommons.org\/(licenses|publicdomain)\/([^/]+)/gm; - + /** * The item to display the CC license image for */ @@ -74,13 +74,13 @@ export class ItemPageCcLicenseFieldComponent implements OnInit { name: string; showImage = true; imgSrc: string; - + constructor( @Inject(APP_CONFIG) protected appConfig: AppConfig, protected configService: ConfigurationDataService, ) { } - + ngOnInit() { this.configService.findByPropertyName('cc.license.uri').pipe( @@ -97,7 +97,7 @@ export class ItemPageCcLicenseFieldComponent implements OnInit { const ccCode = matches.length > 2 ? matches[2] : null; this.imgSrc = ccCode ? `assets/images/cc-licenses/${ccCode}.png` : null; }); - + this.configService.findByPropertyName('cc.license.name').pipe( getFirstCompletedRemoteData(), getRemoteDataPayload(),