mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(editor): Fix remaining FE type check errors (no-changelog) (#9607)
Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
@@ -16,7 +16,7 @@ import MappingModeSelect from './MappingModeSelect.vue';
|
||||
import MatchingColumnsSelect from './MatchingColumnsSelect.vue';
|
||||
import MappingFields from './MappingFields.vue';
|
||||
import { fieldCannotBeDeleted, parseResourceMapperFieldName } from '@/utils/nodeTypesUtils';
|
||||
import { isResourceMapperValue } from '@/utils/typeGuards';
|
||||
import { isFullExecutionResponse, isResourceMapperValue } from '@/utils/typeGuards';
|
||||
import { i18n as locale } from '@/plugins/i18n';
|
||||
import { useNDVStore } from '@/stores/ndv.store';
|
||||
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||
@@ -78,7 +78,12 @@ watch(
|
||||
watch(
|
||||
() => workflowsStore.getWorkflowExecution,
|
||||
async (data) => {
|
||||
if (data?.status === 'success' && state.paramValue.mappingMode === 'autoMapInputData') {
|
||||
if (
|
||||
data &&
|
||||
isFullExecutionResponse(data) &&
|
||||
data.status === 'success' &&
|
||||
state.paramValue.mappingMode === 'autoMapInputData'
|
||||
) {
|
||||
await initFetching(true);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user