I can not display response while it exists in the console.log #1768
-
Hi everyone, Hi@kamilkisiela, Hi@lindeberg #graphql.module.ts
#app.module.ts
#app.component.ts
#app.component.html
What should I do to display the response in the table? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It looks like you are logging |
Beta Was this translation helpful? Give feedback.
-
Hi @grenobnik #app.component.html to be like this:
and the #app.component.ts to be like this:
|
Beta Was this translation helpful? Give feedback.
It looks like you are logging
console.log(data.allDevices);
but saving something different on your variable that is binded to the tablethis.xallDevices = data.devices;