testing/tidying

This commit is contained in:
Richard Cox 2024-12-04 15:07:01 +00:00
parent 66f73dab5b
commit a6810c18df
4 changed files with 4 additions and 8 deletions

View File

@ -267,17 +267,15 @@ export const DEFAULT_PERF_SETTING: PerfSettings = {
resources: {
enableAll: false,
enableSome: {
// custom list or headers? not generic
// if a resource list is shown by a custom resource list component or has specific list headers then it's not generically shown
// and must be included here.
enabled: [
NODE, EVENT,
POD,
CATALOG.APP, CATALOG.CLUSTER_REPO, CATALOG.OPERATION,
HPA, INGRESS, SERVICE,
PV, CONFIG_MAP, PVC, SECRET,
PV, CONFIG_MAP, STORAGE_CLASS, PVC, SECRET,
],
// Currently covers more resources plus (at time of comment)
// STORAGE_CLASS
// LIMIT_RANGE, NETWORK_POLICY, POD_DISRUPTION_BUDGET, RESOURCE_QUOTA
generic: true,
}
}

View File

@ -26,7 +26,6 @@ export default defineComponent({
* Filter out hidden repos from list of all repos
*/
filterRowsLocal(rows: ClusterRepo[]) {
// TODO: RC Test - no-vai
return rows.filter((repo) => !(repo?.metadata?.annotations?.[CATALOG_ANNOTATIONS.HIDDEN_REPO] === 'true'));
},

View File

@ -102,7 +102,7 @@ export default {
return rows;
}
} else {
return this.localFilter ? this.localFilter(rows) : rows; // TODO: RC Test - no-vai
return this.localFilter ? this.localFilter(rows) : rows;
}
return [];

View File

@ -87,7 +87,6 @@ export default {
</script>
<template>
<!-- TODO: RC TEST - no-vai -->
<PaginatedResourceTable
:schema="schema"
:headers="eventHeaders"