mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Renamed 'subLabel' to 'labelMinor' and removed 'node_count' property.
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user