Skip to content

Commit 57acab7

Browse files
committed
fix: handle null return case in saveCollector method
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
1 parent d546254 commit 57acab7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/src/app/app-module/conf/int-generic-group-config/int-config-types/collector-configuration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ export class CollectorConfiguration extends IntegrationConfig {
6666
groups: collector.groups.filter(g => g.id !== group.id)
6767
};
6868
return this.saveCollector(group);
69+
} else {
70+
return of(null);
6971
}
7072
}
7173

0 commit comments

Comments
 (0)