aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
7 stars 17 forks source link

`configuration_tabs` option of StructureDataViewer is broken #425

Closed danielhollas closed 1 year ago

danielhollas commented 1 year ago

PR #371 broke the configuration_tabs option of the StructureDataViewer. In the latest release, when this option is passed to the class constructure, no configuration tabs are displayed.

I am pretty sure because of this deleted if statement

https://github.com/aiidalab/aiidalab-widgets-base/pull/371/files#diff-5aac3a07d48497df9963232d6dff4bbeb87f5a6992192cae0ed1eecd7d6573cdL217

Putting the if configuration_tabs: statement back fixes the issue for me.

(Note that this broke my app so putting high urgency on this...)