waltz-controls / waltz-grid-widget

0 stars 0 forks source link

GridWidget state configuration data question #4

Closed Ingvord closed 3 years ago

Ingvord commented 3 years ago

I am trying to iterate over showed attributes to fetch data and then update them.

Here is what I get inside api.store.getState().config.devices in my test instance:

Screenshot_20201013_154931

Basically I look for attributes field, which seems to be OK, but there is a nested object with another instance of attributes field array which is confusing. Is it intended to be so, or there is something wrong?