Skip to content

Commit

Permalink
Merge pull request #2721 from alanorth/fix-community-cdk-tree-links
Browse files Browse the repository at this point in the history
Fix whitespace in links due to newlines
  • Loading branch information
alanorth authored Jan 19, 2024
2 parents 1c782b2 + 7207bbb commit 477ea93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@
</button>
<div class="d-flex flex-row">
<span class="align-middle pt-2 lead">
<a [routerLink]="node.route" class="lead">
{{ dsoNameService.getName(node.payload) }}
</a>
<a [routerLink]="node.route" class="lead">{{ dsoNameService.getName(node.payload) }}</a>
<span class="pr-2">&nbsp;</span>
<span *ngIf="node.payload.archivedItemsCount >= 0" class="badge badge-pill badge-secondary align-top archived-items-lead">{{node.payload.archivedItemsCount}}</span>
</span>
Expand Down Expand Up @@ -73,9 +71,7 @@
<span class="fa fa-chevron-right invisible" aria-hidden="true"></span>
</button>
<h6 class="align-middle pt-2">
<a [routerLink]="node.route" class="lead">
{{ dsoNameService.getName(node.payload) }}
</a>
<a [routerLink]="node.route" class="lead">{{ dsoNameService.getName(node.payload) }}</a>
</h6>
</div>
<ds-truncatable [id]="node.id">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,5 @@
<ng-template #browselink let-value="value">
<a class="dont-break-out preserve-line-breaks ds-browse-link"
[routerLink]="['/browse', browseDefinition.id]"
[queryParams]="getQueryParams(value)">
{{value}}
</a>
[queryParams]="getQueryParams(value)">{{value}}</a>
</ng-template>

0 comments on commit 477ea93

Please sign in to comment.