Admin Manage Components table does not hide when there are no components
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
Hide the Components table on the Manage Components page when there are no components defined. Hide the repositories table on the Manage Repositories page when there are no repositories defined.
Description (last modified by )
Here is a screen capture of the Manage Milestones view with all of the milestones deleted:
Here is a screen capture of the Manage Components view with all of the components deleted:
The message As long as you don't add any items to the list, this field will remain completely hidden from the user interface. should be displayed and the table header should be hidden when all of the Components are deleted.
The problem is that Component.select returns a generator, and it's not expanded to a list in _render_admin_panel. For all of the other cases of Ticket System fields,
select either returns a list or the generator is expanded to a list in
_render_admin_panel (e.g. enums).
Change History (20)
comment:17 by , 7 years ago
|Status:||assigned → closed|