Skip to content

Commit 6dd3153

Browse files
committed
[DSC-1433] Modified the method name setSocialImageTag in setPrimaryBitstreamInBundleTag
1 parent 53a4056 commit 6dd3153

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/core/metadata/metadata.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ export class MetadataService {
408408
* Add <meta name="citation_pdf_url" ... > to the <head>
409409
*/
410410
private setCitationPdfUrlTag(): void {
411-
this.setSocialImageTag('ORIGINAL', 'citation_pdf_url');
411+
this.setPrimaryBitstreamInBundleTag('ORIGINAL', 'citation_pdf_url');
412412
}
413413

414414
/**
@@ -432,7 +432,7 @@ export class MetadataService {
432432
* Add <meta name="og:image" ... > to the <head>
433433
*/
434434
private setOpenGraphImageTag(): void {
435-
this.setSocialImageTag('THUMBNAIL', 'og:image');
435+
this.setPrimaryBitstreamInBundleTag('THUMBNAIL', 'og:image');
436436
}
437437

438438

@@ -457,10 +457,10 @@ export class MetadataService {
457457
* Add <meta name="twitter:image" ... > to the <head>
458458
*/
459459
private setTwitterImageTag(): void {
460-
this.setSocialImageTag('THUMBNAIL', 'twitter:image');
460+
this.setPrimaryBitstreamInBundleTag('THUMBNAIL', 'twitter:image');
461461
}
462462

463-
private setSocialImageTag(bundleName: string, tag: string): void {
463+
private setPrimaryBitstreamInBundleTag(bundleName: string, tag: string): void {
464464
if (this.currentObject.value instanceof Item) {
465465
const item = this.currentObject.value as Item;
466466

0 commit comments

Comments
 (0)