class fix

This commit is contained in:
Maksym Dudnik 2023-07-21 13:37:06 +03:00
parent 286ea1686b
commit a2fe82971a

View File

@ -286,6 +286,9 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie
if (!connector.key) { if (!connector.key) {
connector.key = 'auto'; connector.key = 'auto';
} }
if (!connector.class) {
connector.class = 'auto';
}
this.initialConnector = connector; this.initialConnector = connector;
this.connectorForm.setValue(connector); this.connectorForm.setValue(connector);
this.connectorForm.markAsPristine(); this.connectorForm.markAsPristine();