1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-08 23:06:51 +03:00

add console log

This commit is contained in:
Mutasem 2022-01-23 19:31:42 +02:00
parent 49fe274557
commit 710e148b5b

View File

@ -54,7 +54,7 @@ import SubcategoryPanel from './SubcategoryPanel.vue';
import { INodeCreateElement, INodeItemProps, ISubcategoryItemProps } from '@/Interface';
import { ALL_NODE_FILTER, CORE_NODES_CATEGORY, REGULAR_NODE_FILTER, TRIGGER_NODE_FILTER } from '@/constants';
import SlideTransition from '../transitions/SlideTransition.vue';
import { matchesNodeType, matchesSelectType } from './helpers';
import { matchesSelectType } from './helpers';
import { search } from './sortUtils';
@ -97,6 +97,7 @@ export default mixins(externalHooks).extend({
}
const searchData = search(filter, nodeTypes, [{key: 'properties.nodeType.displayName', weight: 2}, {key: 'properties.nodeType.codex.alias', weight: 1}]);
console.log(searchData);
const returnData = searchData.map(({item}) => item);
setTimeout(() => {