Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: zero index (#15797)

ecmadao81b3ee6fc92c
diff --git a/frontend/src/components/SensitiveData/components/SemanticTypesTable.vue b/frontend/src/components/SensitiveData/components/SemanticTypesTable.vue
index 0718304286..fab4a5a65d 100644
--- a/frontend/src/components/SensitiveData/components/SemanticTypesTable.vue
+++ b/frontend/src/components/SensitiveData/components/SemanticTypesTable.vue
@@ -10,9 +10,9 @@
/>
<MaskingAlgorithmsCreateDrawer
- :show="!!state.pendingEditSemanticIndex"
+ :show="state.pendingEditSemanticIndex !== undefined"
:algorithm="
- state.pendingEditSemanticIndex
+ state.pendingEditSemanticIndex !== undefined
? getMaskingType(
semanticItemList[state.pendingEditSemanticIndex].item.algorithm
)