This fixes an issue where selecting a snapshot clears out the plan name input field, and fixes another issue where closing a snapshot preview doesn't reenable the delete buttons in the directives table.
This also makes the BulkActionDataGrid component a little more reusable outside of plans.
To test:
Create a plan
Add some directives
Open the Plan Metadata panel
Create a snapshot
Select the snapshot to preview
Verify that the plan name input doesn't get cleared out
Verify that the delete icons in the table a disabled properly
Close the snapshot preview
Verify that the delete icons in the table a enabled again
This fixes an issue where selecting a snapshot clears out the plan name input field, and fixes another issue where closing a snapshot preview doesn't reenable the delete buttons in the directives table.
This also makes the
BulkActionDataGrid
component a little more reusable outside of plans.To test: