mirror of https://github.com/rancher/dashboard.git
testing/tidying
This commit is contained in:
parent
66f73dab5b
commit
a6810c18df
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -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 [];
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ export default {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<!-- TODO: RC TEST - no-vai -->
|
||||
<PaginatedResourceTable
|
||||
:schema="schema"
|
||||
:headers="eventHeaders"
|
||||
|
|
|
|||
Loading…
Reference in New Issue