Edgewall Software

Opened 11 years ago

Last modified 11 years ago

#11103 closed defect

Admin Manage Components table does not hide when there are no components — at Initial Version

Reported by: Ryan J Ollos <ryan.j.ollos@…> Owned by:
Priority: normal Milestone: 1.0.2
Component: admin/web Version: 1.0-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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 milestones deleted:

they should behave similarly. 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 (2)

by Ryan J Ollos <ryan.j.ollos@…>, 11 years ago

Attachment: ManageComponents.png added

by Ryan J Ollos <ryan.j.ollos@…>, 11 years ago

Attachment: ManageMilestones.png added
Note: See TracTickets for help on using tickets.