Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 790101fc authored by Sebastian-Ion TINCU's avatar Sebastian-Ion TINCU
Browse files

EDELIVERY-4014 "+" icon for Service metadata on search/edit page is

Check whether there is any service metadata when disabling the + icon.
parent 3d019d84
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,8 @@
</ng-template>
<ng-template #rowExpand let-row="row" let-expanded="expanded" let-disabled="disabled" ngx-datatable-cell-template >
<span *ngIf="disabled">( )</span>
<a *ngIf="!disabled" class="table-button-expand"
<span *ngIf="disabled || row.serviceMetadata?.length === 0">()</span>
<a *ngIf="!disabled && row.serviceMetadata?.length" class="table-button-expand"
href="javascript:void(0)"
title="Expand/Collapse Row"
(click)="toggleExpandRow(row)">{{expanded?'(-)':'(+)'}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment