mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 05:06:05 +08:00
Fix types - requires new shell version; fix yaml dependency
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user