mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
UI: Fix condition for modal rendering (#28866)
## For #28861 - Correctly interpret `0` as a valid team id for rendering the modal  - [x] Manual QA for all new/changed functionality Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
parent
7ad72ad47c
commit
260b9ee6c3
1 changed files with 1 additions and 1 deletions
|
|
@ -1779,7 +1779,7 @@ const ManageHostsPage = ({
|
|||
{showAddHostsModal && renderAddHostsModal()}
|
||||
{showTransferHostModal && renderTransferHostModal()}
|
||||
{showDeleteHostModal && renderDeleteHostModal()}
|
||||
{showRunScriptBatchModal && currentTeamId && (
|
||||
{showRunScriptBatchModal && currentTeamId !== undefined && (
|
||||
<RunScriptBatchModal
|
||||
selectedHostIds={selectedHostIds}
|
||||
onCancel={toggleRunScriptBatchModal}
|
||||
|
|
|
|||
Loading…
Reference in a new issue