1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 05:47:24 +03:00

Fix not being able to sync kube config files on linux (#4253)

This commit is contained in:
Sebastian Malton 2021-11-04 14:12:49 -04:00 committed by GitHub
parent 43845ed145
commit 7e82b7632a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ import { multiSet } from "../utils";
import { UserStore } from "../../common/user-store";
import { getAllEntries } from "../components/+preferences/kubeconfig-syncs";
import { runInAction } from "mobx";
import { isWindows } from "../../common/vars";
import { isLinux, isWindows } from "../../common/vars";
import { PathPicker } from "../components/path-picker";
import { Notifications } from "../components/notifications";
import { Link } from "react-router-dom";
@ -57,7 +57,7 @@ export function initCatalogCategoryRegistryEntries() {
},
);
if (isWindows) {
if (isWindows || isLinux) {
ctx.menuItems.push(
{
icon: "create_new_folder",