Skip to content

Commit

Permalink
[bugfix] fix monitor edit error (apache#2677)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aias00 authored Sep 5, 2024
1 parent 83c5a3a commit b8a2e86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
</nz-form-control>
</nz-form-item>
<!-- upload grafana dashboard json -->
<nz-form-item *ngIf="monitor.grafanaDashboard.enabled && monitor.app === 'prometheus'">
<nz-form-item *ngIf="monitor.grafanaDashboard && monitor.grafanaDashboard.enabled && monitor.app === 'prometheus'">
<nz-form-label nzSpan="7" nzFor="grafanaJson" [nzTooltipTitle]="'monitor.grafana.upload.tip' | i18n">
{{ 'monitor.grafana.upload.label' | i18n }}
</nz-form-label>
Expand Down

0 comments on commit b8a2e86

Please sign in to comment.