equinor / cc-components

Components and apps for CC.
MIT License
4 stars 0 forks source link

:bug: Fixed issue with 3D model selection when there are no models #1003

Closed kjellhaaland closed 1 month ago

kjellhaaland commented 2 months ago

Short summary

Refactored error handling. Added throw of error if no models are available.

Link to issue: https://github.com/equinor/cc-components/issues/999

PR Checklist

[!TIP] To deploy the PR to Test, use the Manual deploy fusion app TEST🚀 action. Remember to deploy any backend changes to Test as well!

[!CAUTION] â›” I understand by merging my PR, the changes will be deployed to production immediately â›”