fixes
This commit is contained in:
parent
1d8196f9e6
commit
ad94a35348
@ -178,6 +178,7 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie
|
||||
|
||||
saveConnector(): void {
|
||||
const value = this.connectorForm.value;
|
||||
value.configuration = this.camelize(value.name) + ".json";
|
||||
if (value.type !== 'grpc') {
|
||||
delete value.key;
|
||||
}
|
||||
@ -333,6 +334,10 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie
|
||||
})
|
||||
}
|
||||
|
||||
camelize(str): string {
|
||||
return str.toLowerCase().replace(/\s+/g, '_');
|
||||
}
|
||||
|
||||
connectorLogs(attribute: AttributeData, $event: Event): void {
|
||||
if ($event) {
|
||||
$event.stopPropagation();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user