Skip to content

Commit e66993d

Browse files
author
Allan Asp Christensen
committed
hotfix lora gateways
1 parent 03fc163 commit e66993d

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

src/app/views/administration-gateway/create-lora-gateway/create-lora-gateway.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export class CreateLoraGatewayComponent implements OnInit {
2020
}
2121

2222
ngOnInit(): void {
23-
this.translate.get(['NAV.MY-LORA-GATEWAYS', 'FORM.CREATE-NEW-LORA-GATEWAY', 'LORA-GATEWAY.CREATE'])
23+
this.translate.get(['NAV.LORA-GATEWAYS', 'FORM.CREATE-NEW-LORA-GATEWAY', 'LORA-GATEWAY.CREATE'])
2424
.subscribe(translations => {
25-
this.backButton.label = translations['NAV.MY-LORA-GATEWAYS']
25+
this.backButton.label = translations['NAV.LORA-GATEWAYS']
2626
this.title = translations['FORM.CREATE-NEW-LORA-GATEWAY']
2727
this.submitButton = translations['LORA-GATEWAY.CREATE']
2828
});

src/app/views/administration-gateway/edit-gateway/edit-gateway.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ export class EditGatewayComponent implements OnInit {
2222
}
2323

2424
ngOnInit(): void {
25-
this.translate.get(['NAV.MY-LORA-GATEWAYS', 'FORM.EDIT-NEW-GATEWAY', 'GATEWAY.SAVE'])
25+
this.translate.get(['NAV.LORA-GATEWAYS', 'FORM.EDIT-NEW-GATEWAY', 'GATEWAY.SAVE'])
2626
.subscribe(translations => {
27-
this.backButton.label = translations['NAV.MY-LORA-GATEWAYS'];
27+
this.backButton.label = translations['NAV.LORA-GATEWAYS'];
2828
this.title = translations['FORM.EDIT-NEW-GATEWAY'];
2929
this.submitButton = translations['GATEWAY.SAVE'];
3030
});

src/app/views/administration-gateway/gateway/gateway.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ export class GatewayComponent implements OnInit {
109109
if (this.id) {
110110
this.bindGateway(this.id);
111111
}
112-
this.translate.get(['NAV.MY-LORA-GATEWAYS'])
112+
this.translate.get(['NAV.LORA-GATEWAYS'])
113113
.subscribe(translations => {
114-
this.backButton.label = translations['NAV.MY-LORA-GATEWAYS'];
114+
this.backButton.label = translations['NAV.LORA-GATEWAYS'];
115115
});
116116
}
117117

src/app/views/administration-gateway/list-lora-gateway/list-lora-gateway.component.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<div class="px-sm-5 py-sm-4">
22
<div class="row mb-5">
3-
<app-top-bar [pageLimit]="pageLimit"
4-
[title]="'NAV.MY-LORA-GATEWAYS' | translate" [ctaLabel]="'FORM.CREATE-NEW-LORA-GATEWAY' | translate"
5-
[ctaRouterLink]="'edit-gateway'" >
3+
<app-top-bar [pageLimit]="pageLimit" [title]="'NAV.LORA-GATEWAYS' | translate"
4+
[ctaLabel]="'FORM.CREATE-NEW-LORA-GATEWAY' | translate" [ctaRouterLink]="'edit-gateway'">
65
</app-top-bar>
76
</div>
87
<div class="row">

0 commit comments

Comments
 (0)