limit search results to 500 to improve speed
This commit is contained in:
parent
17cd661c6a
commit
cd2929080e
1 changed files with 5 additions and 1 deletions
|
|
@ -215,6 +215,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="searchedNodes.length === 500" class="text-gray-500 text-sm px-2 py-1">
|
||||
Only the first 500 results are shown.
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template v-else>
|
||||
|
|
@ -2566,7 +2569,8 @@
|
|||
return nodeALongName.localeCompare(nodeBLongName);
|
||||
});
|
||||
|
||||
return nodes;
|
||||
// only return the first 500 results to avoid ui lag...
|
||||
return nodes.slice(0, 500);
|
||||
|
||||
},
|
||||
selectedNodeLatestPowerMetric() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue