refactor: interceptor error display in graphql response (#3553)
This commit is contained in:
@@ -49,7 +49,11 @@
|
||||
v-for="(entry, index) in log"
|
||||
:key="`entry-${index}`"
|
||||
:is-open="log.length - 1 === index"
|
||||
:entry="{ ts: entry.time, source: 'info', payload: entry.data }"
|
||||
:entry="{
|
||||
ts: entry.type === 'response' ? entry.time : undefined,
|
||||
source: 'info',
|
||||
payload: entry.type === 'response' ? entry.data : '',
|
||||
}"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user