When data is retrieved from the database, we get a row per device per package received. Typeorm removes duplicate IoT device rows, thus resulting in less rows on the frontend as expected.
This is fixed by joining the table with the latest received metadata' instead of the one with all metadata.
When data is retrieved from the database, we get a row per device per package received. Typeorm removes duplicate IoT device rows, thus resulting in less rows on the frontend as expected. This is fixed by joining the table with the latest received metadata' instead of the one with all metadata.
This will fix OS2iot/OS2IoT-frontend#46