Skip to content

Commit f349310

Browse files
committed
chenged button names
1 parent f5734a1 commit f349310

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

frontend/mqtt-mapping/src/mqtt-configuration/broker-configuration.component.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ <h4 class="card-title">
9999
</c8y-messages>
100100
</div>
101101
<div class="col-lg-6">
102-
<label class="c8y-switch" title="{{ 'Active' | translate }}">
102+
<label class="c8y-switch" title="{{ 'Is active' | translate }}">
103103
<input type="checkbox" formControlName="active" [ngModel]="isBrokerActivated" disabled="true" />
104104
<span></span>
105105
<span>
106-
{{ 'Active'}}
106+
{{ 'Is active'}}
107107
</span>
108108
</label>
109109
</div>
@@ -113,9 +113,9 @@ <h4 class="card-title">
113113
</div>
114114
<div class="card-footer text-center">
115115
<div class="form-group">
116-
<button type="button" name="update" class="btn btn-primary" (click)="clickedUpdateConnectionConfiguration()"
116+
<button type="button" name="save" class="btn btn-primary" (click)="clickedSaveConnectionConfiguration()"
117117
[disabled]="!connectionForm.valid" translate>
118-
Update
118+
Save
119119
</button>
120120
<button type="button" name="connect" class="btn btn-primary" (click)="clickedConnect()"
121121
[disabled]="isBrokerConnected" translate>
@@ -173,8 +173,8 @@ <h4 class="card-title">
173173
</div>
174174
<div class="card-footer text-center">
175175
<div class="form-group">
176-
<button type="button" name="update" class="btn btn-primary" (click)="clickedUpdateServiceConfiguration()" translate>
177-
Update Service
176+
<button type="button" name="update" class="btn btn-primary" (click)="clickedSaveServiceConfiguration()" translate>
177+
Save
178178
</button>
179179
</div>
180180
</div>

frontend/mqtt-mapping/src/mqtt-configuration/broker-configuration.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ export class BokerConfigurationComponent implements OnInit {
114114
this.showTerminateConnectionModal();
115115
}
116116

117-
async clickedUpdateConnectionConfiguration() {
117+
async clickedSaveConnectionConfiguration() {
118118
this.updateConnectionConfiguration();
119119
}
120120

121-
async clickedUpdateServiceConfiguration() {
121+
async clickedSaveServiceConfiguration() {
122122
this.updateServiceConfiguration();
123123
}
124124

-149 KB
Loading

0 commit comments

Comments
 (0)