Skip to content

Commit

Permalink
chenged button names
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Oct 30, 2022
1 parent f5734a1 commit f349310
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ <h4 class="card-title">
</c8y-messages>
</div>
<div class="col-lg-6">
<label class="c8y-switch" title="{{ 'Active' | translate }}">
<label class="c8y-switch" title="{{ 'Is active' | translate }}">
<input type="checkbox" formControlName="active" [ngModel]="isBrokerActivated" disabled="true" />
<span></span>
<span>
{{ 'Active'}}
{{ 'Is active'}}
</span>
</label>
</div>
Expand All @@ -113,9 +113,9 @@ <h4 class="card-title">
</div>
<div class="card-footer text-center">
<div class="form-group">
<button type="button" name="update" class="btn btn-primary" (click)="clickedUpdateConnectionConfiguration()"
<button type="button" name="save" class="btn btn-primary" (click)="clickedSaveConnectionConfiguration()"
[disabled]="!connectionForm.valid" translate>
Update
Save
</button>
<button type="button" name="connect" class="btn btn-primary" (click)="clickedConnect()"
[disabled]="isBrokerConnected" translate>
Expand Down Expand Up @@ -173,8 +173,8 @@ <h4 class="card-title">
</div>
<div class="card-footer text-center">
<div class="form-group">
<button type="button" name="update" class="btn btn-primary" (click)="clickedUpdateServiceConfiguration()" translate>
Update Service
<button type="button" name="update" class="btn btn-primary" (click)="clickedSaveServiceConfiguration()" translate>
Save
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ export class BokerConfigurationComponent implements OnInit {
this.showTerminateConnectionModal();
}

async clickedUpdateConnectionConfiguration() {
async clickedSaveConnectionConfiguration() {
this.updateConnectionConfiguration();
}

async clickedUpdateServiceConfiguration() {
async clickedSaveServiceConfiguration() {
this.updateServiceConfiguration();
}

Expand Down
Binary file modified resources/image/Generic_MQTT_Connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f349310

Please sign in to comment.