Don't buildGroups if useGroup=false

This commit is contained in:
Chrystian Huot 2020-02-02 10:17:43 -05:00
parent 9e3404a040
commit a2eb2005de

View file

@ -567,6 +567,10 @@ export class AppRdioScannerComponent implements OnDestroy, OnInit {
}
private buildGroups(): void {
if (!this.config.useGroup) {
return;
}
const groups: RdioScannerGroup[] = [];
this.systems.forEach((system: RdioScannerSystem) => {