mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
console: show detailed error message while importing inconsistent metadata
This PR fixes an issue with an error message while importing the inconsistent metadata. The console shows the generic error message, not the detailed error. More info - [slack thread ](https://hasurahq.slack.com/archives/C02G2M3C1T3/p1684223626357299) ## Related Issues 👾 https://hasurahq.atlassian.net/browse/GS-557 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9163 GitOrigin-RevId: 021f23aeac61ac5886549ee24e1a021946690cae
This commit is contained in:
parent
1d2f1956cf
commit
6436dbafd2
@ -98,7 +98,7 @@ export const getNotificationDetails = (
|
||||
detailsJson: Json,
|
||||
children: React.ReactNode
|
||||
) => {
|
||||
return children ? (
|
||||
return children || detailsJson ? (
|
||||
<div className="notification-details">
|
||||
<AceEditor
|
||||
readOnly
|
||||
|
Loading…
Reference in New Issue
Block a user