fix: Update Posthog no-capture (#5693)

* feat: add no-capture class for schema view

* fix: add ee nocapture

* fix: update no capture

* fix: update ndv capturing

* feat: remove no capture from empty resources list

* lint: fix

* test: update tests

* test: add json view tests

* fix: update more class to cover

* lint: fix
This commit is contained in:
Mutasem Aldmour
2023-03-23 11:20:11 +01:00
committed by GitHub
parent ac18c0b9eb
commit a732374f24
14 changed files with 789 additions and 62 deletions

View File

@@ -45,7 +45,9 @@
>
</template>
<template #nodeValue="{ node }">
<span v-if="isNaN(node.index)">{{ getContent(node.content) }}</span>
<span v-if="isNaN(node.index)" class="ph-no-capture">{{
getContent(node.content)
}}</span>
<span
v-else
data-target="mappable"
@@ -57,6 +59,7 @@
[$style.mappable]: mappingEnabled,
[$style.dragged]: draggingPath === node.path,
}"
class="ph-no-capture"
>{{ getContent(node.content) }}</span
>
</template>