mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 20:42:02 +00:00
docs(ui): reference isCloud() instead of the renamed cloud flag
The Cloud flag moved from build-time NEXT_PUBLIC_IS_CLOUD_ENV to the runtime UI_CLOUD_ENABLED (#12061). The adapter already gates on isCloud(), which resolves the new mechanism; update the stale docstring to match.
This commit is contained in:
@@ -24,9 +24,8 @@ import {
|
||||
* Decide whether a query should appear in the selector.
|
||||
*
|
||||
* Empty-query filtering is a Prowler Cloud feature: outside Cloud
|
||||
* (`NEXT_PUBLIC_IS_CLOUD_ENV !== "true"`) the queries API does not precompute
|
||||
* result summaries, so every query is shown, matching current self-hosted
|
||||
* behaviour.
|
||||
* (`isCloud()` is false) the queries API does not precompute result summaries,
|
||||
* so every query is shown, matching current self-hosted behaviour.
|
||||
*
|
||||
* In Cloud, hide only queries the scan precomputed and found empty
|
||||
* (`has_data === false`). Everything else stays visible: parameterized queries
|
||||
|
||||
Reference in New Issue
Block a user