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
Currently, when using the addPanel method using an already existing id, the panels get added on top of each other, which is not ideal. Maybe it would make sense to add an overwrite flag to the method or show a warning if the panel already exists?
The text was updated successfully, but these errors were encountered:
Good point. We could think of a mechanism to update a panel, but this should then be in a separate function updatePanel(id, update).
So addPanel() should throw an error for a duplicate ID.
noerw
changed the title
Add Panel - check id for uniquness
addPanel() - check ID for uniqueness
Jan 3, 2019
Currently, when using the addPanel method using an already existing id, the panels get added on top of each other, which is not ideal. Maybe it would make sense to add an overwrite flag to the method or show a warning if the panel already exists?
The text was updated successfully, but these errors were encountered: