Skip to content

Commit

Permalink
fixed bug in defining custom attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Nov 22, 2023
1 parent 5f50197 commit 6b18815
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shared/analytics.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ export class AnalyticsService {
extension.analytics.forEach((block) => {
//result.push({ name: block.name, category: block.category });
const cepBlock = block as CEP_Block;
cepBlock.custom = block.id.startsWith('apama.analyticsbuilder.blocks');
//console.log(block.id);
cepBlock.custom = !block.id.startsWith('apama.analyticsbuilder.blocks') && !block.id.startsWith('apama.analyticskit.blocks.core') ;
result.push(cepBlock);
});
}
Expand Down

0 comments on commit 6b18815

Please sign in to comment.