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:
parent
43845ed145
commit
7e82b7632a
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user