Fixed the create connector message
This commit is contained in:
parent
6b8af63c1e
commit
dacdf0f0a2
@ -261,8 +261,11 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie
|
||||
tasks.push(this.attributeService.deleteEntityAttributes(this.device, scope, attributesToDelete));
|
||||
}
|
||||
forkJoin(tasks).subscribe(_ => {
|
||||
this.showToast(!this.initialConnector
|
||||
? this.translate.instant('gateway.connector-created')
|
||||
: this.translate.instant('gateway.connector-updated')
|
||||
);
|
||||
this.initialConnector = value;
|
||||
this.showToast('Update Successful');
|
||||
this.updateData(true);
|
||||
});
|
||||
}
|
||||
|
||||
@ -2711,6 +2711,8 @@
|
||||
"connectors-table-actions": "Actions",
|
||||
"connectors-table-key": "Key",
|
||||
"connectors-table-class": "Class",
|
||||
"connector-created": "Connector created.",
|
||||
"connector-updated": "Connector updated.",
|
||||
"rpc-command-send": "Send",
|
||||
"rpc-command-result": "Response",
|
||||
"rpc-command-edit-params": "Edit parameters",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user