Skip to content

Commit

Permalink
Added warning alert in introspection query effect
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Jun 7, 2020
1 parent 97d331f commit 424518e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -255,7 +255,7 @@ export class DocViewerComponent implements OnChanges, OnDestroy {
this.resizeFactor = resizeFactor;
}

rootTypeTrackBy(type: GraphQLObjectType) {
rootTypeTrackBy(index: number, type: GraphQLObjectType) {
return type.name;
}

Expand Down
1 change: 1 addition & 0 deletions packages/altair-app/src/app/effects/query.ts
Expand Up @@ -398,6 +398,7 @@ export class QueryEffects {
}),
catchError((error: any) => {
debug.error(error);
this.notifyService.warning(error.message);
return observableEmpty();
})
);
Expand Down

0 comments on commit 424518e

Please sign in to comment.