Skip to content

Commit 97991f4

Browse files
committed
[NAE-2116] Frontend remote configuration
- fix possible null pointer exception
1 parent 269e2a1 commit 97991f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/netgrif-components-core/src/lib/configuration/configuration.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export abstract class ConfigurationService {
272272
* @see NetgrifApplicationEngine
273273
*/
274274
public loadConfiguration(): Observable<any> {
275-
if (!this.APPLICATION_CONFIG.resolve_configuration) {
275+
if (!this.APPLICATION_CONFIG?.resolve_configuration) {
276276
return of(null);
277277
}
278278
return this._configurationResource.getPublicApplicationConfiguration(this.APPLICATION_CONFIG)

0 commit comments

Comments
 (0)