Fix a bug where all bots are considered handled
This commit is contained in:
parent
42315de8df
commit
51740308a2
1 changed files with 1 additions and 3 deletions
|
@ -20,7 +20,6 @@ export class AdminEditNebComponent implements OnInit, OnDestroy {
|
|||
|
||||
private subscription: any;
|
||||
private overlappingTypes: string[] = [];
|
||||
private botTypes: string[] = [];
|
||||
|
||||
constructor(private nebApi: AdminNebApiService, private route: ActivatedRoute, private toaster: ToasterService) {
|
||||
}
|
||||
|
@ -70,8 +69,7 @@ export class AdminEditNebComponent implements OnInit, OnDestroy {
|
|||
this.nebConfig = config;
|
||||
} else {
|
||||
for (const type of config.integrations) {
|
||||
this.botTypes.push(type.type);
|
||||
handledTypes.push(type.type);
|
||||
if (type.isEnabled) handledTypes.push(type.type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue