-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Deployment Type
Self-hosted
NetBox Version
v4.0.7
Python Version
3.12
Steps to Reproduce
- Created a table. In this table, there's a feature to show extra buttons next to each row. However, I noticed that these extra buttons don't show up when I set another feature called "actions" to an empty list.
- Initialize an
ActionsColumnwith an emptyactionstuple and validextra_buttons:
actions = columns.ActionsColumn(
actions=(),
extra_buttons=ACTIVATE_BUTTON
)
- Render the table and observe the output.
Expected Behavior
The extra buttons should render correctly even when the actions parameter is empty.
Observed Behavior
When I explicitly set actions to an empty tuple (actions=()), the extra buttons (ACTIVATE_BUTTON) do not appear. They only show up when actions are not defined at all or are set differently.
abhi1693
Metadata
Metadata
Assignees
Labels
severity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application