Skip to content

Commit

Permalink
perf: 禁用连接按钮提示更加明显
Browse files Browse the repository at this point in the history
  • Loading branch information
w940853815 authored and BaiJiangJie committed May 11, 2024
1 parent b68d3a3 commit df9f6b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ <h3>{{"Connect" | translate}} - {{ asset.name | truncatechars:30 }}</h3>
<button
(click)="onConfirm()"
[disabled]="connectButtonInfo().disabled"
[title]="connectButtonInfo().reason"
[mat-dialog-close]="outputData"
class="confirm-btn"
color="primary"
Expand All @@ -78,6 +77,7 @@ <h3>{{"Connect" | translate}} - {{ asset.name | truncatechars:30 }}</h3>
({{ 'Current online' | translate}}: {{ onlineNum === null ? '- ' : onlineNum }})
</span>
</button>
<label class="zone-label" style="display: block">{{ connectButtonInfo().reason }}</label>
</mat-dialog-actions>
</div>
</div>
Expand Down

0 comments on commit df9f6b0

Please # to comment.