Skip to content

Commit

Permalink
Fix for empty object check
Browse files Browse the repository at this point in the history
  • Loading branch information
edlu77 committed Apr 22, 2024
1 parent 0463d01 commit d489d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/a2agc/src/app/core/state/data/data.state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class DataState extends NgxsImmutableDataRepository<DataStateModel> {
isPrivate(): Observable<boolean> {
const response = this.http.get<string>(DATA_CONFIG.datasetsPath);
return response.pipe(
map((result) => !!result),
map((result) => result.toString() === '{}'),

This comment has been minimized.

Copy link
@bherr2

bherr2 Apr 22, 2024

Member

!=

catchError(this.handleError)
);
}
Expand Down

0 comments on commit d489d12

Please sign in to comment.