Make new created connector active
This commit is contained in:
parent
ef26f18d5a
commit
d4c4aba09e
@ -210,7 +210,7 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie
|
|||||||
value
|
value
|
||||||
}];
|
}];
|
||||||
const attributesToDelete = [];
|
const attributesToDelete = [];
|
||||||
const scope = (this.initialConnector && this.activeConnectors.includes(this.initialConnector.name))
|
const scope = (!this.initialConnector || this.activeConnectors.includes(this.initialConnector.name))
|
||||||
? AttributeScope.SHARED_SCOPE
|
? AttributeScope.SHARED_SCOPE
|
||||||
: AttributeScope.SERVER_SCOPE;
|
: AttributeScope.SERVER_SCOPE;
|
||||||
let updateActiveConnectors = false;
|
let updateActiveConnectors = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user