Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: 优化连接方式为空时页面显示 #840

Merged
merged 1 commit into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.advanced-option {
margin-top: 1.25em;
margin-top: 1.1em;
}

.mat-expansion-panel-header {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<label class="zone-label">
{{ "Connect Method" | translate }}
</label>
<div class="connect-type-group">
<div *ngIf="connectMethodTypes.length > 0; else empty" class="connect-type-group">
<mat-tab-group
[selectedIndex]="currentConnectMethodTypeIndex()"
(selectedIndexChange)="onConnectMethodTypeChange($event)"
Expand Down Expand Up @@ -37,4 +37,9 @@
</mat-tab>
</mat-tab-group>
</div>
<ng-template #empty>
<div class="empty">
{{ "No available connect method" | translate }}
</div>
</ng-template>
</div>
1 change: 1 addition & 0 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"Select account": "Select account",
"No matching found": "No matching found",
"Connect Method": "Connect Method",
"No available connect method": "No available connect method",
"Need to use": "Need to use",
"Download the client": "Please download",
"Yes": "Yes",
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"Select account": "システムユーザーの選択",
"No matching found": "マッチがありません",
"Connect Method": "接続方法",
"No available connect method": "接続方法がありません",
"Need to use": "使用する必要がある",
"Yes": "はい",
"No": "いいえ",
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"Select account": "选择账号",
"No matching found": "没有匹配项",
"Connect Method": "连接方式",
"No available connect method": "没有可用的连接方法",
"Need to use": "需要使用",
"Yes": "是",
"No": "否",
Expand Down