Skip to content

Commit

Permalink
move propertyPath initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
m5r committed Oct 28, 2024
1 parent a5a3b98 commit ab8d9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/ts/services/search-telemetry.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export class SearchTelemetryService {
return;
}

const propertyPath = basePropertyPath ? `${basePropertyPath}.${key}` : key;
if (typeof value === 'string' && value.toLowerCase().includes(_search)) {
const propertyPath = basePropertyPath ? `${basePropertyPath}.${key}` : key;
matchingProperties.add(propertyPath);
}
});
Expand Down

0 comments on commit ab8d9e5

Please sign in to comment.