You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can't have this validation for camera's as each bed preset creates new AssetBed record.
We might also need to restrict editing asset_type once an asset is created so that a Camera asset with multiple beds should never be updated to be a monitor as it shouldn't be linked with multiple bed.
Describe the bug
Currently, we are able to link multiple assets of the same type (say multiple HL7 monitors) to the same bed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The backend should raise a validation error to prevent linking multiple assets of same asset type to a single bed.
The text was updated successfully, but these errors were encountered: