1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

master-merge fixes

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2020-08-27 13:26:07 +03:00
parent 01be6e449e
commit 23e82c8bc6

View File

@ -1,6 +1,6 @@
import type { WorkspaceId } from "./workspace-store"; import type { WorkspaceId } from "./workspace-store";
import path from "path"; import path from "path";
import { app, remote, ipcRenderer } from "electron"; import { app, ipcRenderer, remote } from "electron";
import { unlink } from "fs-extra"; import { unlink } from "fs-extra";
import { action, computed, observable, toJS } from "mobx"; import { action, computed, observable, toJS } from "mobx";
import { BaseStore } from "./base-store"; import { BaseStore } from "./base-store";
@ -53,10 +53,6 @@ export interface ClusterPreferences {
} }
export class ClusterStore extends BaseStore<ClusterStoreModel> { export class ClusterStore extends BaseStore<ClusterStoreModel> {
static get iconsDir(): string {
return path.resolve((app || remote.app).getPath("userData"), "icons");
}
static getCustomKubeConfigPath(clusterId: ClusterId): string { static getCustomKubeConfigPath(clusterId: ClusterId): string {
return path.resolve((app || remote.app).getPath("userData"), "kubeconfigs", clusterId); return path.resolve((app || remote.app).getPath("userData"), "kubeconfigs", clusterId);
} }