specklesystems / speckle-server

The Speckle Server, Frontend, 3D Viewer, & other JS utilities.
https://speckle.systems
Other
679 stars 178 forks source link

fix(file import): handle undefined branch id #3542

Closed iainsproat closed 6 days ago

iainsproat commented 6 days ago

Description & motivation

If the model (aka branch) ID was undefined, it was being passed as the string 'undefined' and not as a falsy value.

A new branch was therefore not being created.

Changes:

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

References