mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix not being able to sync kube config files on linux (#4253)
This commit is contained in:
parent
43845ed145
commit
7e82b7632a
@ -26,7 +26,7 @@ import { multiSet } from "../utils";
|
|||||||
import { UserStore } from "../../common/user-store";
|
import { UserStore } from "../../common/user-store";
|
||||||
import { getAllEntries } from "../components/+preferences/kubeconfig-syncs";
|
import { getAllEntries } from "../components/+preferences/kubeconfig-syncs";
|
||||||
import { runInAction } from "mobx";
|
import { runInAction } from "mobx";
|
||||||
import { isWindows } from "../../common/vars";
|
import { isLinux, isWindows } from "../../common/vars";
|
||||||
import { PathPicker } from "../components/path-picker";
|
import { PathPicker } from "../components/path-picker";
|
||||||
import { Notifications } from "../components/notifications";
|
import { Notifications } from "../components/notifications";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
@ -57,7 +57,7 @@ export function initCatalogCategoryRegistryEntries() {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isWindows) {
|
if (isWindows || isLinux) {
|
||||||
ctx.menuItems.push(
|
ctx.menuItems.push(
|
||||||
{
|
{
|
||||||
icon: "create_new_folder",
|
icon: "create_new_folder",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user