Fix types - requires new shell version; fix yaml dependency

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:00:49 +02:00
parent ea12a81174
commit 5ce303eaec
8 changed files with 25 additions and 43 deletions
@@ -13,7 +13,7 @@ export default {
divider,
notFilterNamespaces
}: any) => {
const out = [{
const out: { id: string, kind: string, label: string }[] = [{
id: ALL,
kind: NAMESPACE_FILTER_KINDS.SPECIAL,
label: rootGetters['i18n/t']('nav.ns.all'),
@@ -29,9 +29,11 @@ export default {
MANAGEMENT.PROJECT
);
projects = sortBy(filterBy(projects, 'spec.clusterName', cluster.id), [
'nameDisplay',
]).filter((project: any) => project.nameDisplay !== 'System');
projects = sortBy(
filterBy(projects, 'spec.clusterName', cluster.id),
['nameDisplay'],
null
).filter((project: any) => project.nameDisplay !== 'System');
const projectsById: any = {};
const namespacesByProject: any = {};
+1 -1
View File
@@ -7,7 +7,7 @@ import mutations from './mutations';
import actions from './actions';
const harvesterFactory = (): CoreStoreSpecifics => {
const steveFactory = SteveFactory();
const steveFactory = SteveFactory(null, null);
steveFactory.getters = {
...steveFactory.getters,