1510dfc85130ee45ddaabeb02fcd0cc9991143cf
Refactored AssignActionDialog and AssignFilterDialog to only render dialog content when open=true. This prevents useJails() from being called when dialogs are closed, eliminating unnecessary GET /api/jails requests. Implementation uses inner components (AssignActionDialogInner, AssignFilterDialogInner) that are only mounted when the dialog is open. The Dialog wrapper remains in the outer component to preserve Fluent UI animation behavior. Fixed test setup for AssignFilterDialog to properly call assignFilterToJail from the mocked onAssign callback. Fixes TASK-BUG-08. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Description
No description provided
Languages
Python
61.2%
TypeScript
24.9%
HTML
8.4%
Markdown
2.5%
Roff
0.9%
Other
2%