mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts: # src/renderer/components/+workloads-pods/pod-details-affinities.tsx # src/renderer/components/dock/create-resource.tsx # src/renderer/components/dock/edit-resource.tsx # src/renderer/components/dock/editor-panel.tsx
This commit is contained in:
commit
d6b7001f72
28 files changed
+348
-161
No files matched your search
@@ -24,7 +24,7 @@ import "./kubeconfig-dialog.scss";
|
||||
import React from "react";
|
||||
import { makeObservable, observable } from "mobx";
|
||||
import { observer } from "mobx-react";
|
||||
import jsYaml from "js-yaml";
|
||||
import yaml from "js-yaml";
|
||||
import type { ServiceAccount } from "../../../common/k8s-api/endpoints";
|
||||
import { copyToClipboard, cssNames, saveFileDialog } from "../../utils";
|
||||
import { Button } from "../button";
|
||||
@@ -86,7 +86,7 @@ export class KubeConfigDialog extends React.Component<Props> {
|
||||
this.close();
|
||||
});
|
||||
|
||||
this.config = config ? jsYaml.dump(config) : "";
|
||||
this.config = config ? yaml.dump(config) : "";
|
||||
}
|
||||
|
||||
copyToClipboard = () => {
|
||||
|
||||
Reference in new issue
Block a user