opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
150 stars 7 forks source link

bug: Frontend Crash in Main Branch > Diff > Artifact #3641

Closed BeArchiTek closed 1 month ago

BeArchiTek commented 1 month ago

Component

Frontend UI

Current Behavior

If i check the Diff > Artifacts while I am in the main branch, the frontend crash with

TypeError: Cannot read properties of null (reading 'display_label')
    at Vc (http://localhost:8000/assets/conversations-tdY717n6.js:121:494)
    at m7 (http://localhost:8000/assets/index-egQo334T.js:44:19519)
    at si (http://localhost:8000/assets/index-egQo334T.js:46:43963)
    at ii (http://localhost:8000/assets/index-egQo334T.js:46:39727)
    at qp (http://localhost:8000/assets/index-egQo334T.js:46:39655)
    at Ee (http://localhost:8000/assets/index-egQo334T.js:46:39508)
    at jr (http://localhost:8000/assets/index-egQo334T.js:46:35875)
    at oi (http://localhost:8000/assets/index-egQo334T.js:46:34826)
    at H (http://localhost:8000/assets/index-egQo334T.js:31:1554)
    at MessagePort.E (http://localhost:8000/assets/index-egQo334T.js:31:1914)

Expected Behavior

No crash

Steps to Reproduce

Additional Information

https://www.loom.com/share/9dec4e71b1974466a098f9da3b0a859e?sid=3fbb126e-e311-4d20-9ce1-c1afed4fce42