Renamed 'subLabel' to 'labelMinor' and removed 'node_count' property.

This commit is contained in:
Filip Barl
2017-02-10 12:10:43 +01:00
parent 3987e95465
commit 5bd8e8f690
9 changed files with 33 additions and 52 deletions

View File

@@ -7,7 +7,7 @@ import { slugify } from './string-utils';
// topolevel search fields
const SEARCH_FIELDS = makeMap({
label: 'label',
sublabel: 'labelMinor'
labelMinor: 'labelMinor'
});
const COMPARISONS = makeMap({

View File

@@ -175,7 +175,8 @@ export function getCurrentTopologyUrl(state) {
}
export function isNodeMatchingQuery(node, query) {
return node.get('label').includes(query) || node.get('subLabel').includes(query);
return node.get('label').includes(query) ||
node.get('labelMinor').includes(query);
}
export function graphExceedsComplexityThresh(stats) {