diff --git a/apps/a2agc/src/app/core/state/data/data.state.ts b/apps/a2agc/src/app/core/state/data/data.state.ts index f047fc0..cedba58 100644 --- a/apps/a2agc/src/app/core/state/data/data.state.ts +++ b/apps/a2agc/src/app/core/state/data/data.state.ts @@ -58,7 +58,7 @@ export class DataState extends NgxsImmutableDataRepository { isPrivate(): Observable { const response = this.http.get(DATA_CONFIG.datasetsPath); return response.pipe( - map((result) => !!result), + map((result) => result.toString() === '{}'), catchError(this.handleError) ); }