diff --git a/src/components/radiolist/radiolist.component.ts b/src/components/radiolist/radiolist.component.ts index 237f3dd768b9214a0bc05022a498045dd35f4e04..808e15d664a7941c139b89772c0f6dc2cd36ed40 100644 --- a/src/components/radiolist/radiolist.component.ts +++ b/src/components/radiolist/radiolist.component.ts @@ -8,22 +8,22 @@ import { ZipFileDownloadService } from "src/services/zipFileDownload.service"; styleUrls: [ './radiolist.style.css' ], - styles: [ - ` - ul > li.selected > .textSpan:before - { - content: '\u2022'; - width : 1em; - display:inline-block; - } - ul > li:not(.selected) > .textSpan:before - { - content: ' '; - width : 1em; - display:inline-block; - } - ` - ], + // styles: [ + // ` + // ul > li.selected > .textSpan:before + // { + // content: '\u2022'; + // width : 1em; + // display:inline-block; + // } + // ul > li:not(.selected) > .textSpan:before + // { + // content: ' '; + // width : 1em; + // display:inline-block; + // } + // ` + // ], changeDetection: ChangeDetectionStrategy.OnPush }) @@ -68,6 +68,7 @@ export class RadioList{ downloadPublications(item) { + console.log(item['properties']['publications']) const filename = item['name'] let publicationsText = item['name'] + ' Publications:\r\n' item['properties']['publications'].forEach((p, i) => { diff --git a/src/components/radiolist/radiolist.template.html b/src/components/radiolist/radiolist.template.html index f16e7cc4c085c34565847faf063517979a271063..1dce33c86f9832caeb706f9be4a4ea29147fa3a8 100644 --- a/src/components/radiolist/radiolist.template.html +++ b/src/components/radiolist/radiolist.template.html @@ -15,8 +15,9 @@ <span class="dropdown-item-1 textSpan" #DropDownText [innerHTML] = "listDisplay(input)" + [style.fontWeight] = "checkSelected(selectedItem, input)? 'bold' : ''" [ngStyle]="input['properties'] && input['properties']['publications'] ? {'width': 'calc(100% - 30px)', 'overflow': 'hidden'} : {}" - [matTooltip]="overflowText(DropDownText)? DropDownText.innerHTML: ''"> + [matTooltip]="overflowText(DropDownText)? DropDownText.innerText: ''"> </span> <span *ngIf="input['properties'] && input['properties']['publications']" class="infoIcon" (click)="showToast(input);$event.stopPropagation()"