Skip to content

Commit

Permalink
Hide the area when there are no advanced settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kerwin612 committed Jul 5, 2024
1 parent a86fc85 commit 94cae42
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@
/>
</ng-container>

<nz-collapse [nzGhost]="true" style="background: ghostwhite; margin-bottom: 24px">
<nz-collapse
*ngIf="advancedParamDefines && advancedParamDefines.length > 0"
[nzGhost]="true"
style="background: ghostwhite; margin-bottom: 24px"
>
<ng-template #extraColHeader>
<button style="margin-left: 40%" nz-button nzType="dashed" nz-tooltip [nzTooltipTitle]="'monitors.advanced.tip' | i18n">
<span>{{ 'monitors.advanced' | i18n }}</span>
Expand Down

0 comments on commit 94cae42

Please sign in to comment.