seamapi / react

Seam Components are a set of white-labeled UI elements that can be added to your application in seconds. Use them in any app as native web components or as React components and hooks.
https://react.seam.co
MIT License
6 stars 2 forks source link

fix(DeviceDetails): Context menu does not respect `disableCreateAccessCode` and `disableEditAccessCode` #593

Closed illia-liemiekhov closed 3 months ago

illia-liemiekhov commented 3 months ago

The "disableCreateAccessCode" and "disableEditAccessCode" property flags are not properly passed through DeviceDetails, so there is no way to disable the edit and create buttons.

Screenshot 2024-02-27 at 1 12 49 PM Screenshot 2024-02-27 at 1 13 23 PM
dawnho commented 3 months ago

Thank you, @illia-liemiekhov!