Closed nikhilsaikethe closed 3 days ago
The changes involve modifications to the useLogs
and useStreams
composables. In useLogs
, a conditional check is added to skip processing for specific keys (_o2_id
and _original
) during iteration. In useStreams
, the removeSchemaFields
function is updated to improve the formatting and filtering logic, specifically targeting the same keys for exclusion from the schema. Both modifications aim to enhance data handling by excluding certain fields.
File | Change Summary |
---|---|
web/src/composables/useLogs.ts | Added a conditional check in the useLogs function to skip processing for keys _o2_id and _original . |
web/src/composables/useStreams.ts | Improved formatting and structure of the removeSchemaFields function, maintaining filtering logic for _original and _o2_id . |
_o2_id
from the schema, which aligns with the main PR's modification to skip processing for keys named _o2_id
in the useLogs
function.☢️ Bug
web/src/composables/useLogs.ts (1)
`2941-2943`: **LGTM!** The added conditional check to skip processing for `_o2_id` and `_original` keys looks good. It ensures these specific keys are excluded from further processing in the loop, which may be relevant for data handling or logging purposes. The change does not appear to have any negative impact on the existing functionality.
Summary by CodeRabbit
Bug Fixes
_o2_id
,_original
) from processing in logs.Refactor
removeSchemaFields
function without changing its functionality.