feat(editor): Remove Segment (#9878)

This commit is contained in:
Mutasem Aldmour
2024-06-28 10:52:36 +02:00
committed by GitHub
parent 13d83f2037
commit 10f7d4b5b9
9 changed files with 59 additions and 1012 deletions

View File

@@ -88,7 +88,6 @@ import ParameterOptions from '@/components/ParameterOptions.vue';
import { useI18n } from '@/composables/useI18n';
import { useToast } from '@/composables/useToast';
import { useNDVStore } from '@/stores/ndv.store';
import { useSegment } from '@/stores/segment.store';
import { getMappedResult } from '@/utils/mappingUtils';
import { hasExpressionMapping, hasOnlyListMode, isValueExpression } from '@/utils/nodeTypesUtils';
import { isResourceLocatorValue } from '@/utils/typeGuards';
@@ -272,9 +271,6 @@ function onDrop(newParamValue: string) {
hasExpressionMapping(prevValue),
success: true,
});
const segment = useSegment();
segment.track(segment.EVENTS.MAPPED_DATA);
}
forceShowExpression.value = false;
}, 200);